summaryrefslogtreecommitdiffstats
path: root/Modules/mmapmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/mmapmodule.c')
-rw-r--r--Modules/mmapmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c
index 728c971..bdbda22 100644
--- a/Modules/mmapmodule.c
+++ b/Modules/mmapmodule.c
@@ -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;