From: Thomas Wouters <thomas@python.org>
Date: Thu, 16 Feb 2006 21:10:52 +0000 (+0000)
Subject: More Py_ssize_t format characters.
X-Git-Tag: v2.5a0~642
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dde176593df80c7398a3992da8abffd03dd3f908;p=python

More Py_ssize_t format characters.
---

diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c
index 728c971c63..bdbda22f93 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;