[pypy-svn] r68582 - pypy/trunk/pypy/objspace/std
fijal at codespeak.net
fijal at codespeak.net
Sat Oct 17 15:09:57 CEST 2009
Author: fijal
Date: Sat Oct 17 15:09:55 2009
New Revision: 68582
Modified:
pypy/trunk/pypy/objspace/std/objspace.py
Log:
Fix translation (?)
Modified: pypy/trunk/pypy/objspace/std/objspace.py
==============================================================================
--- pypy/trunk/pypy/objspace/std/objspace.py (original)
+++ pypy/trunk/pypy/objspace/std/objspace.py Sat Oct 17 15:09:55 2009
@@ -441,6 +441,7 @@
def gettypeobject(self, typedef):
# stdtypedef.TypeCache maps each StdTypeDef instance to its
# unique-for-this-space W_TypeObject instance
+ assert typedef is not None
return self.fromcache(stdtypedef.TypeCache).getorbuild(typedef)
def wrap(self, x):
More information about the Pypy-commit
mailing list