diff Modules/arraymodule.c @ 36529:442c0fb3c4ed legacy-trunk

Use correct format specifier for Py_ssize_t variable to PyArg_ParseTuple().
author Thomas Wouters <thomas@python.org>
date Thu, 16 Feb 2006 17:07:41 +0000
parents 9f3f87e920a6
children 23e23e15e7e7
line wrap: on
line diff
--- a/Modules/arraymodule.c	Thu Feb 16 15:59:12 2006 +0000
+++ b/Modules/arraymodule.c	Thu Feb 16 17:07:41 2006 +0000
@@ -1195,7 +1195,7 @@
 	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) {