[pypy-svn] r79760 - pypy/branch/out-of-line-guards/pypy/interpreter

fijal at codespeak.net fijal at codespeak.net
Thu Dec 2 18:43:30 CET 2010


Author: fijal
Date: Thu Dec  2 18:43:29 2010
New Revision: 79760

Modified:
   pypy/branch/out-of-line-guards/pypy/interpreter/typedef.py
Log:
make typedef a newstyle class


Modified: pypy/branch/out-of-line-guards/pypy/interpreter/typedef.py
==============================================================================
--- pypy/branch/out-of-line-guards/pypy/interpreter/typedef.py	(original)
+++ pypy/branch/out-of-line-guards/pypy/interpreter/typedef.py	Thu Dec  2 18:43:29 2010
@@ -12,7 +12,7 @@
 from pypy.rlib.objectmodel import instantiate, compute_identity_hash, specialize
 from pypy.rlib.jit import hint
 
-class TypeDef:
+class TypeDef(object):
     def __init__(self, __name, __base=None, **rawdict):
         "NOT_RPYTHON: initialization-time only"
         self.name = __name



More information about the Pypy-commit mailing list