projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
977485d
)
Use correct format specifier for Py_ssize_t variable to PyArg_ParseTuple().
author
Thomas Wouters
<thomas@python.org>
Thu, 16 Feb 2006 17:07:41 +0000
(17:07 +0000)
committer
Thomas Wouters
<thomas@python.org>
Thu, 16 Feb 2006 17:07:41 +0000
(17:07 +0000)
Modules/arraymodule.c
patch
|
blob
|
history
diff --git
a/Modules/arraymodule.c
b/Modules/arraymodule.c
index 9444e9eca91fa605ab3eb8c93f80d6823dc64839..dffb2e71e0dc016c0c7dae9a0db234bd988a2189 100644
(file)
--- 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, "O
i
:fromfile", &f, &n))
+ if (!PyArg_ParseTuple(args, "O
n
:fromfile", &f, &n))
return NULL;
fp = PyFile_AsFile(f);
if (fp == NULL) {