Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2ecac4 commit 59d6d2dCopy full SHA for 59d6d2d
1 file changed
Doc/extending/newtypes.rst
@@ -1233,7 +1233,7 @@ if an exception was set.
1233
Here is a sample implementation, for a datatype that is considered equal if the
1234
size of an internal pointer is equal::
1235
1236
- static int
+ static PyObject *
1237
newdatatype_richcmp(PyObject *obj1, PyObject *obj2, int op)
1238
{
1239
PyObject *result;
0 commit comments