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

Thanks to Daniel Mullner
This commit is contained in:
Andrew Svetlov 2013-04-12 16:08:40 +03:00
parent c2ecac4787
commit 59d6d2dbeb
1 changed files with 1 additions and 1 deletions

View File

@ -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;