Author: Ronan Lamy <ronan.l...@gmail.com>
Branch: py3k
Changeset: r86778:eb9659774e72
Date: 2016-08-31 15:34 +0100
http://bitbucket.org/pypy/pypy/changeset/eb9659774e72/

Log:    fix translation

diff --git a/pypy/module/__builtin__/descriptor.py 
b/pypy/module/__builtin__/descriptor.py
--- a/pypy/module/__builtin__/descriptor.py
+++ b/pypy/module/__builtin__/descriptor.py
@@ -29,10 +29,10 @@
 
     def descr_repr(self, space):
         if self.w_objtype is not None:
-            objtype_name = "<%s object>" % self.w_objtype.getname(space)
+            objtype_name = u"<%s object>" % self.w_objtype.getname(space)
         else:
-            objtype_name = 'NULL'
-        return space.wrap("<super: <class '%s'>, %s>" % (
+            objtype_name = u'NULL'
+        return space.wrap(u"<super: <class '%s'>, %s>" % (
             self.w_starttype.getname(space), objtype_name))
 
     def get(self, space, w_obj, w_type=None):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to