Author: Philip Jenvey <pjen...@underboss.org>
Branch: py3k
Changeset: r64743:a554ac771ba3
Date: 2013-06-03 18:34 -0700
http://bitbucket.org/pypy/pypy/changeset/a554ac771ba3/

Log:    fix translation

diff --git a/pypy/module/cpyext/classobject.py 
b/pypy/module/cpyext/classobject.py
--- a/pypy/module/cpyext/classobject.py
+++ b/pypy/module/cpyext/classobject.py
@@ -29,7 +29,7 @@
 
     def descr_repr(self, space):
         return self.getrepr(space, u'<instancemethod %s>' %
-                            (space.getname(self.w_function),))
+                            (self.w_function.getname(space),))
 
 InstanceMethod.typedef = TypeDef("instancemethod",
     __new__ = interp2app(InstanceMethod.descr_new),
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to