Author: Matti Picus <matti.pi...@gmail.com>
Branch: 
Changeset: r92371:58204c4f3efd
Date: 2017-09-11 18:40 +0300
http://bitbucket.org/pypy/pypy/changeset/58204c4f3efd/

Log:    copy-paste typo

diff --git a/pypy/module/_csv/interp_csv.py b/pypy/module/_csv/interp_csv.py
--- a/pypy/module/_csv/interp_csv.py
+++ b/pypy/module/_csv/interp_csv.py
@@ -36,7 +36,7 @@
         return space.int_w(w_src)
     except OperationError as e:
         if e.match(space, space.w_TypeError):
-            raise oefmt(space.w_TypeError, '"%s" must be a string', attrname)
+            raise oefmt(space.w_TypeError, '"%s" must be an int', attrname)
         raise
 
 def _get_str(space, w_src, default, attrname):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to