diff options
| author | Thomas Wouters <thomas@python.org> | 2006-02-16 21:10:52 +0000 |
|---|---|---|
| committer | Thomas Wouters <thomas@python.org> | 2006-02-16 21:10:52 +0000 |
| commit | dde176593df80c7398a3992da8abffd03dd3f908 (patch) | |
| tree | 8d5fdf5a14bf6a9b6baa8a0da8a963b1bacc92ed | |
| parent | 2ad8c56e6c77f5eb04a9004f525b59ee717a8f3d (diff) | |
| download | cpython-git-dde176593df80c7398a3992da8abffd03dd3f908.tar.gz | |
More Py_ssize_t format characters.
| -rw-r--r-- | Modules/mmapmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
