March 2003
Intermediate to advanced
656 pages
39h 30m
English
PyObject_RichCompare
PyObject* PyObject_RichCompare(PyObject*x,PyObject*y,intop)
Performs the comparison indicated by op
between x and
y, and returns the result as a Python
object. op can be
Py_EQ, Py_NE,
Py_LT, Py_LE,
Py_GT, or Py_GE, corresponding
to Python comparisons
x
==
y,
x
!=
y,
x
<
y,
x
<=
y,
x
>
y,
or
x
>=
y,
respectively.