diff options
Diffstat (limited to 'Objects/abstract.c')
-rw-r--r-- | Objects/abstract.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c index 1f988ec..e42008a 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -27,22 +27,6 @@ null_error(void) /* Operations on any object */ -int -PyObject_Cmp(PyObject *o1, PyObject *o2, int *result) -{ - int r; - - if (o1 == NULL || o2 == NULL) { - null_error(); - return -1; - } - r = PyObject_Compare(o1, o2); - if (PyErr_Occurred()) - return -1; - *result = r; - return 0; -} - PyObject * PyObject_Type(PyObject *o) { |