Commit 59d6d2db authored by Andrew Svetlov's avatar Andrew Svetlov

#17688: fix declaration for richcmp example in the docs.

Thanks to Daniel Mullner
parent c2ecac47
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment