[pypy-svn] r49276 - pypy/dist/pypy/interpreter
arigo at codespeak.net
arigo at codespeak.net
Sun Dec 2 13:44:24 CET 2007
Author: arigo
Date: Sun Dec 2 13:44:24 2007
New Revision: 49276
Modified:
pypy/dist/pypy/interpreter/typedef.py
Log:
Tweak.
Modified: pypy/dist/pypy/interpreter/typedef.py
==============================================================================
--- pypy/dist/pypy/interpreter/typedef.py (original)
+++ pypy/dist/pypy/interpreter/typedef.py Sun Dec 2 13:44:24 2007
@@ -287,7 +287,8 @@
return miniglobals['descr_typecheck_%s' % func.__name__]
def unknown_objclass_getter(space):
- raise OperationError(space.w_TypeError,
+ # NB. this is an AttributeError to make inspect.py happy
+ raise OperationError(space.w_AttributeError,
space.wrap("generic property has no __objclass__"))
def make_objclass_getter(func, cls, cache={}):
More information about the pypy-svn
mailing list