[pypy-commit] pypy default: utillize %N
pjenvey
noreply at buildbot.pypy.org
Tue May 28 23:44:57 CEST 2013
Author: Philip Jenvey <pjenvey at underboss.org>
Branch:
Changeset: r64638:bcfcca1e51e3
Date: 2013-05-28 14:16 -0700
http://bitbucket.org/pypy/pypy/changeset/bcfcca1e51e3/
Log: utillize %N
diff --git a/pypy/objspace/std/objspace.py b/pypy/objspace/std/objspace.py
--- a/pypy/objspace/std/objspace.py
+++ b/pypy/objspace/std/objspace.py
@@ -364,8 +364,8 @@
instance.user_setup(self, w_subtype)
else:
raise operationerrfmt(self.w_TypeError,
- "%s.__new__(%s): only for the type %s",
- w_type.name, w_subtype.getname(self), w_type.name)
+ "%N.__new__(%N): only for the type %N",
+ w_type, w_subtype, w_type)
return instance
allocate_instance._annspecialcase_ = "specialize:arg(1)"
More information about the pypy-commit
mailing list