commit | 6253f83b0a2d261024cd5ef84d2e36fe4f4f1f3d | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Wed Jul 12 12:56:19 2000 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Wed Jul 12 12:56:19 2000 +0000 |
tree | 3a2320c46c024dd289462d3c5d61129c89311ffb | |
parent | f981c8f9151eb7a6d6851c6b7f46a4c3e7619f15 [diff] [blame] |
change abstract size functions PySequence_Size &c. add macros for backwards compatibility with C source
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 @@ /* 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) */