]> granicus.if.org Git - python/commitdiff
More Py_ssize_t format characters.
authorThomas Wouters <thomas@python.org>
Thu, 16 Feb 2006 21:10:52 +0000 (21:10 +0000)
committerThomas Wouters <thomas@python.org>
Thu, 16 Feb 2006 21:10:52 +0000 (21:10 +0000)
Modules/mmapmodule.c

index 728c971c63c36a9434c68b83f03ffecec8239ed9..bdbda22f937de2570e1a5889500bd10b03e32e14 100644 (file)
@@ -245,7 +245,7 @@ mmap_find_method(mmap_object *self,
        int len;
 
        CHECK_VALID(NULL);
-       if (!PyArg_ParseTuple (args, "s#|l:find", &needle, &len, &start)) {
+       if (!PyArg_ParseTuple (args, "s#|n:find", &needle, &len, &start)) {
                return NULL;
        } else {
                char *p;