[Python-3000-checkins] r59198 - python/branches/py3k/Modules/_csv.c
georg.brandl
python-3000-checkins at python.org
Tue Nov 27 21:40:23 CET 2007
Author: georg.brandl
Date: Tue Nov 27 21:40:22 2007
New Revision: 59198
Modified:
python/branches/py3k/Modules/_csv.c
Log:
Rewrap error message.
Modified: python/branches/py3k/Modules/_csv.c
==============================================================================
--- python/branches/py3k/Modules/_csv.c (original)
+++ python/branches/py3k/Modules/_csv.c Tue Nov 27 21:40:22 2007
@@ -794,9 +794,10 @@
return NULL;
}
if (!PyUnicode_Check(lineobj)) {
- PyErr_Format(error_obj, "iterator should return "
- "strings, not %.200s (did you open "
- "the file in text mode?)",
+ PyErr_Format(error_obj,
+ "iterator should return strings, "
+ "not %.200s "
+ "(did you open the file in text mode?)",
lineobj->ob_type->tp_name
);
Py_DECREF(lineobj);
More information about the Python-3000-checkins
mailing list