commit | 1c280ab7d62b4ae420964b655d99a8e4186320b3 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Tue Nov 27 20:40:22 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Tue Nov 27 20:40:22 2007 +0000 |
tree | c00a5ebefbf3bb892d62134bd23bceb30a3788af | |
parent | 8b2b8dbefa7d10620d59fd9785e2db23292c7124 [diff] [blame] |
Rewrap error message.
diff --git a/Modules/_csv.c b/Modules/_csv.c index afa7810..596d5c2 100644 --- a/Modules/_csv.c +++ b/Modules/_csv.c
@@ -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);