Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Doc/extending/newtypes.rst
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
  • Loading branch information
picnixz and skirpichev authored Apr 11, 2025
commit ace5c7428568219a2d241bc4e9639e2588a1f0f7
4 changes: 2 additions & 2 deletions Doc/extending/newtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ size of an internal pointer is equal::
static PyObject *
newdatatype_richcmp(PyObject *lhs, PyObject *rhs, int op)
{
newdatatypeobject *obj1 = (newdatatypeobject *) obj1;
newdatatypeobject *obj2 = (newdatatypeobject *) obj2;
newdatatypeobject *obj1 = (newdatatypeobject *) lhs;
newdatatypeobject *obj2 = (newdatatypeobject *) rhs;
PyObject *result;
int c, size1, size2;

Expand Down
Loading