summaryrefslogtreecommitdiffstats
path: root/Objects/object.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-07-12 12:56:19 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-07-12 12:56:19 (GMT)
commit6253f83b0a2d261024cd5ef84d2e36fe4f4f1f3d (patch)
tree3a2320c46c024dd289462d3c5d61129c89311ffb /Objects/object.c
parentf981c8f9151eb7a6d6851c6b7f46a4c3e7619f15 (diff)
downloadcpython-6253f83b0a2d261024cd5ef84d2e36fe4f4f1f3d.zip
cpython-6253f83b0a2d261024cd5ef84d2e36fe4f4f1f3d.tar.gz
cpython-6253f83b0a2d261024cd5ef84d2e36fe4f4f1f3d.tar.bz2
change abstract size functions PySequence_Size &c.
add macros for backwards compatibility with C source
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 9194c90..0c50175 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -958,7 +958,7 @@ PyTypeObject *_Py_cobject_hack = &PyCObject_Type;
/* 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) */