[pypy-commit] pypy py3k: fix translation
rlamy
pypy.commits at gmail.com
Wed Aug 31 10:35:01 EDT 2016
Author: Ronan Lamy <ronan.lamy at 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):
More information about the pypy-commit
mailing list