[pypy-commit] pypy py3.5: fix translation

pjenvey pypy.commits at gmail.com
Tue Jan 17 00:11:25 EST 2017


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3.5
Changeset: r89625:340c549c6f11
Date: 2017-01-16 21:10 -0800
http://bitbucket.org/pypy/pypy/changeset/340c549c6f11/

Log:	fix translation

diff --git a/pypy/interpreter/function.py b/pypy/interpreter/function.py
--- a/pypy/interpreter/function.py
+++ b/pypy/interpreter/function.py
@@ -544,7 +544,7 @@
             except OperationError as e:
                 if not e.match(space, space.w_TypeError):
                     raise
-                name = '?'
+                name = u'?'
         objrepr = space.unicode_w(space.repr(self.w_instance))
         s = u'<bound method %s of %s>' % (name, objrepr)
         return space.wrap(s)


More information about the pypy-commit mailing list