[pypy-svn] r9495 - pypy/dist/pypy/interpreter
pedronis at codespeak.net
pedronis at codespeak.net
Thu Feb 24 23:12:59 CET 2005
Author: pedronis
Date: Thu Feb 24 23:12:59 2005
New Revision: 9495
Modified:
pypy/dist/pypy/interpreter/typedef.py
Log:
oops, avoid duplicates
Modified: pypy/dist/pypy/interpreter/typedef.py
==============================================================================
--- pypy/dist/pypy/interpreter/typedef.py (original)
+++ pypy/dist/pypy/interpreter/typedef.py Thu Feb 24 23:12:59 2005
@@ -416,6 +416,6 @@
ControlFlowException.typedef = TypeDef("ControlFlowException")
-interptypes = [ val.typedef for name,val in globals().items() if hasattr(val, 'typedef') ]
+interptypes = [ val.typedef for name,val in globals().items() if hasattr(val,'__bases__') and hasattr(val,'typedef') ]
More information about the Pypy-commit
mailing list