From a4e2de9d82493b13cce075c3d58a9265e4840e6c Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Thu, 9 Sep 2010 00:11:54 -0700 Subject: [PATCH] Richcmp operator constants. --- Cython/Includes/cpython/object.pxd | 2 ++ 1 file changed, 2 insertions(+) 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. -- 2.26.2