mirror of
https://github.com/python/cpython.git
synced 2024-11-27 20:04:41 +08:00
#17688: fix declaration for richcmp example in the docs.
Thanks to Daniel Mullner
This commit is contained in:
parent
c2ecac4787
commit
59d6d2dbeb
@ -1233,7 +1233,7 @@ if an exception was set.
|
||||
Here is a sample implementation, for a datatype that is considered equal if the
|
||||
size of an internal pointer is equal::
|
||||
|
||||
static int
|
||||
static PyObject *
|
||||
newdatatype_richcmp(PyObject *obj1, PyObject *obj2, int op)
|
||||
{
|
||||
PyObject *result;
|
||||
|
Loading…
Reference in New Issue
Block a user