mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
#17688: fix declaration for richcmp example in the docs.
Thanks to Daniel Mullner
This commit is contained in:
parent
c2ecac4787
commit
59d6d2dbeb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue