Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r46181:9faff75c844e
Date: 2011-08-02 10:58 +0200
http://bitbucket.org/pypy/pypy/changeset/9faff75c844e/
Log: use just a name of the type
diff --git a/pypy/rpython/lltypesystem/lltype.py
b/pypy/rpython/lltypesystem/lltype.py
--- a/pypy/rpython/lltypesystem/lltype.py
+++ b/pypy/rpython/lltypesystem/lltype.py
@@ -1149,7 +1149,7 @@
try:
return self._lookup_adtmeth(field_name)
except AttributeError:
- raise AttributeError("%r instance has no field %r" % (self._T,
+ raise AttributeError("%r instance has no field %r" %
(self._T._name,
field_name))
def __setattr__(self, field_name, val):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit