summaryrefslogtreecommitdiffstats
path: root/Include/opcode.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-01-17 15:20:39 (GMT)
committerGuido van Rossum <guido@python.org>2001-01-17 15:20:39 (GMT)
commit5f284ce68e95e679b007298320d24e3e3905c43c (patch)
tree216f12ad2f4bcb4fe04904a66c8bdba7ca9dd314 /Include/opcode.h
parentc14fa303e109bd8dee7ef9c6a127fbd1fa1c5113 (diff)
downloadcpython-5f284ce68e95e679b007298320d24e3e3905c43c.zip
cpython-5f284ce68e95e679b007298320d24e3e3905c43c.tar.gz
cpython-5f284ce68e95e679b007298320d24e3e3905c43c.tar.bz2
Introduction to rich comparisons:
- Removed the nb_add slot from the PyNumberMethods struct. - Renamed Py_TPFLAGS_NEWSTYLENUMBER to Py_TPFLAGS_CHECKTYPES. - Added typedef richcmpfunc. - Added tp_richcompare slot to PyTypeObject (replacing spare tp_xxx7). - Added APIs PyObject_RichCompare() and PyObject_RichCompareBool(). - Added rich comparison operators Py_LT through Py_GE.
Diffstat (limited to 'Include/opcode.h')
0 files changed, 0 insertions, 0 deletions