mirror of
https://github.com/python/cpython.git
synced 2025-07-15 23:35:23 +00:00
More Py_ssize_t format characters.
This commit is contained in:
parent
2ad8c56e6c
commit
dde176593d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue