Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dde1765

Browse files
committed
More Py_ssize_t format characters.
1 parent 2ad8c56 commit dde1765

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/mmapmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ mmap_find_method(mmap_object *self,
245245
int len;
246246

247247
CHECK_VALID(NULL);
248-
if (!PyArg_ParseTuple (args, "s#|l:find", &needle, &len, &start)) {
248+
if (!PyArg_ParseTuple (args, "s#|n:find", &needle, &len, &start)) {
249249
return NULL;
250250
} else {
251251
char *p;

0 commit comments

Comments
 (0)