summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-04-27 18:40:21 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-04-27 18:40:21 (GMT)
commitf19a7b90bd0cbdf40d02f125db3e39f077f3a89f (patch)
treec5ec7d4eb8e528e91715cccab39590324ca0327c /Modules
parentfe4948bcefe247ca69e3d605eac1d9d4985e4cfd (diff)
downloadcpython-f19a7b90bd0cbdf40d02f125db3e39f077f3a89f.zip
cpython-f19a7b90bd0cbdf40d02f125db3e39f077f3a89f.tar.gz
cpython-f19a7b90bd0cbdf40d02f125db3e39f077f3a89f.tar.bz2
A little reformating of Py3k warnings
Diffstat (limited to 'Modules')
-rw-r--r--Modules/arraymodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index a2b454a..89ed27a 100644
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -1258,7 +1258,7 @@ static PyObject *
array_fromfile_as_read(arrayobject *self, PyObject *args)
{
if (PyErr_WarnPy3k("array.read() not supported in 3.x; "
- "use array.fromfile()", 1) < 0)
+ "use array.fromfile()", 1) < 0)
return NULL;
return array_fromfile(self, args);
}
@@ -1297,7 +1297,7 @@ static PyObject *
array_tofile_as_write(arrayobject *self, PyObject *f)
{
if (PyErr_WarnPy3k("array.write() not supported in 3.x; "
- "use array.tofile()", 1) < 0)
+ "use array.tofile()", 1) < 0)
return NULL;
return array_tofile(self, f);
}