diff options
-rw-r--r-- | Doc/extending/newtypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst index 835a92e..cb20bce 100644 --- a/Doc/extending/newtypes.rst +++ b/Doc/extending/newtypes.rst @@ -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; |