diff options
-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) { |