Commit a4e2de9d authored by Robert Bradshaw's avatar Robert Bradshaw

Richcmp operator constants.

parent 59d44445
...@@ -54,6 +54,8 @@ cdef extern from "Python.h": ...@@ -54,6 +54,8 @@ cdef extern from "Python.h":
# failure. This is the equivalent of the Python statement "del # failure. This is the equivalent of the Python statement "del
# o.attr_name". # 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) object PyObject_RichCompare(object o1, object o2, int opid)
# Return value: New reference. # Return value: New reference.
# Compare the values of o1 and o2 using the operation specified by # Compare the values of o1 and o2 using the operation specified by
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment