From: Robert Bradshaw Date: Thu, 9 Sep 2010 07:11:54 +0000 (-0700) Subject: Richcmp operator constants. X-Git-Tag: 0.14.alpha0~333^2~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a4e2de9d82493b13cce075c3d58a9265e4840e6c;p=cython.git Richcmp operator constants. --- diff --git a/Cython/Includes/cpython/object.pxd b/Cython/Includes/cpython/object.pxd index de49492f..e26dc47a 100644 --- a/Cython/Includes/cpython/object.pxd +++ b/Cython/Includes/cpython/object.pxd @@ -53,6 +53,8 @@ cdef extern from "Python.h": # Delete attribute named attr_name, for object o. Returns -1 on # failure. This is the equivalent of the Python statement "del # o.attr_name". + + int Py_LT, Py_LE, Py_EQ, Py_NE, Py_GT, Py_GE object PyObject_RichCompare(object o1, object o2, int opid) # Return value: New reference.