[pypy-svn] r7607 - pypy/trunk/src/pypy/translator
mwh at codespeak.net
mwh at codespeak.net
Tue Nov 23 13:15:52 CET 2004
Author: mwh
Date: Tue Nov 23 13:15:51 2004
New Revision: 7607
Modified:
pypy/trunk/src/pypy/translator/genc.py
Log:
Oops! Should have been part of the last checkin.
Modified: pypy/trunk/src/pypy/translator/genc.py
==============================================================================
--- pypy/trunk/src/pypy/translator/genc.py (original)
+++ pypy/trunk/src/pypy/translator/genc.py Tue Nov 23 13:15:51 2004
@@ -240,11 +240,9 @@
return False
else:
return "probably" # True
- if attr in ann.getpbcattrs(pbc):
- return True
classdef = ann.getuserclasses().get(pbc.__class__)
if (classdef and
- classdef.about_attribute(attr) != annmodel.SomeImpossibleValue()):
+ classdef.about_attribute(attr) not in [None, SomeImpossibleValue()]):
return True
return False
More information about the Pypy-commit
mailing list