mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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;
|
int len;
|
||||||
|
|
||||||
CHECK_VALID(NULL);
|
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;
|
return NULL;
|
||||||
} else {
|
} else {
|
||||||
char *p;
|
char *p;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue