From dde176593df80c7398a3992da8abffd03dd3f908 Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Thu, 16 Feb 2006 21:10:52 +0000 Subject: More Py_ssize_t format characters. --- Modules/mmapmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12