[pypy-svn] r73752 - pypy/branch/cpython-extension/pypy/module/cpyext
afa at codespeak.net
afa at codespeak.net
Thu Apr 15 01:14:13 CEST 2010
Author: afa
Date: Thu Apr 15 01:14:12 2010
New Revision: 73752
Modified:
pypy/branch/cpython-extension/pypy/module/cpyext/pyobject.py
Log:
Add comment
Modified: pypy/branch/cpython-extension/pypy/module/cpyext/pyobject.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/pyobject.py (original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/pyobject.py Thu Apr 15 01:14:12 2010
@@ -87,9 +87,11 @@
@bootstrap_function
def init_pyobject(space):
from pypy.module.cpyext.object import PyObject_dealloc
- make_typedescr(None)
+ # typedescr for the 'object' type
make_typedescr(space.w_object.instancetypedef,
dealloc=PyObject_dealloc)
+ # almost all types, which should better inherit from object.
+ make_typedescr(None)
@specialize.memo()
def _get_typedescr_1(typedef):
More information about the Pypy-commit
mailing list