From: Georg Brandl Date: Tue, 27 Nov 2007 20:40:22 +0000 (+0000) Subject: Rewrap error message. X-Git-Tag: v3.0a2~85 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c280ab7d62b4ae420964b655d99a8e4186320b3;p=thirdparty%2FPython%2Fcpython.git Rewrap error message. --- diff --git a/Modules/_csv.c b/Modules/_csv.c index afa7810b566b..596d5c2c01fd 100644 --- a/Modules/_csv.c +++ b/Modules/_csv.c @@ -794,9 +794,10 @@ Reader_iternext(ReaderObj *self) 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);