diff options
author | Thomas Wouters <thomas@python.org> | 2006-02-16 17:07:41 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2006-02-16 17:07:41 (GMT) |
commit | 7a2f83b706b3b8ba4aa62b0e125fb604c7f6b48e (patch) | |
tree | 43ea512e0478102945857bf502c6126c00b44289 /Modules | |
parent | 977485d8883fc180e2e12d1a4a8e762cf89fc0ca (diff) | |
download | cpython-7a2f83b706b3b8ba4aa62b0e125fb604c7f6b48e.zip cpython-7a2f83b706b3b8ba4aa62b0e125fb604c7f6b48e.tar.gz cpython-7a2f83b706b3b8ba4aa62b0e125fb604c7f6b48e.tar.bz2 |
Use correct format specifier for Py_ssize_t variable to PyArg_ParseTuple().
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/arraymodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 9444e9e..dffb2e7 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -1195,7 +1195,7 @@ array_fromfile(arrayobject *self, PyObject *args) PyObject *f; Py_ssize_t n; FILE *fp; - if (!PyArg_ParseTuple(args, "Oi:fromfile", &f, &n)) + if (!PyArg_ParseTuple(args, "On:fromfile", &f, &n)) return NULL; fp = PyFile_AsFile(f); if (fp == NULL) { |