diff Modules/arraymodule.c @ 46578:7670005da8c5 legacy-trunk

A little reformating of Py3k warnings
author Benjamin Peterson <benjamin@python.org>
date Sun, 27 Apr 2008 18:40:21 +0000
parents aef3501d8e77
children 4fe192d48960
line wrap: on
line diff
--- a/Modules/arraymodule.c	Sun Apr 27 18:14:39 2008 +0000
+++ b/Modules/arraymodule.c	Sun Apr 27 18:40:21 2008 +0000
@@ -1258,7 +1258,7 @@
 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 @@
 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);
 }