Author: Matti Picus <matti.pi...@gmail.com> Branch: py3.5 Changeset: r93636:29875e4930fc Date: 2018-01-08 08:09 +0200 http://bitbucket.org/pypy/pypy/changeset/29875e4930fc/
Log: fix translation? diff --git a/pypy/module/cpyext/methodobject.py b/pypy/module/cpyext/methodobject.py --- a/pypy/module/cpyext/methodobject.py +++ b/pypy/module/cpyext/methodobject.py @@ -190,7 +190,7 @@ assert isinstance(w_objclass, W_TypeObject) raise oefmt(space.w_TypeError, "descriptor '%8' of '%s' object needs an argument", - self.name, w_objclass.name) + self.name, self.w_objclass.getname(space)) w_instance = __args__.arguments_w[0] # XXX: needs a stricter test if not space.isinstance_w(w_instance, self.w_objclass): @@ -230,7 +230,7 @@ def descr_call(self, space, __args__): if len(__args__.arguments_w) == 0: raise oefmt(space.w_TypeError, - "descriptor '%s' of '%s' object needs an argument", + "descriptor '%8' of '%s' object needs an argument", self.name, self.w_objclass.getname(space)) w_instance = __args__.arguments_w[0] # XXX typecheck missing # CCC: we can surely do better than this _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit