Mercurial > cpython-lru_cache-weakref
diff Objects/object.c @ 13575:7c119f050290 legacy-trunk
change abstract size functions PySequence_Size &c.
add macros for backwards compatibility with C source
| author | Jeremy Hylton <jeremy@alum.mit.edu> |
|---|---|
| date | Wed, 12 Jul 2000 12:56:19 +0000 |
| parents | 15b18e0cc3fd |
| children | b4b6f3962bd1 |
line wrap: on
line diff
--- a/Objects/object.c Wed Jul 12 12:11:36 2000 +0000 +++ b/Objects/object.c Wed Jul 12 12:56:19 2000 +0000 @@ -958,7 +958,7 @@ /* Hack to force loading of abstract.o */ -int (*_Py_abstract_hack)(PyObject *) = &PyObject_Length; +int (*_Py_abstract_hack)(PyObject *) = &PyObject_Size; /* Python's malloc wrappers (see mymalloc.h) */
