8000 Fix inaccuracies in "Assorted Topics" section of "Defining Extension Types" tutorial by chgnrdv · Pull Request #104969 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Fix inaccuracies in "Assorted Topics" section of "Defining Extension Types" tutorial #104969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 16, 2023
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
fixed names in richcmp signature
  • Loading branch information
chgnrdv committed May 26, 2023
commit 113d6cf19263436328e23d28e5517c21b0c6c583
2 changes: 1 addition & 1 deletion Doc/extending/newtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ Here is a sample implementation, for a datatype that is considered equal if the
size of an internal pointer is equal::

static PyObject *
newdatatype_richcmp(newdatatypeobj *obj1, newdatatypeobj *obj2, int op)
newdatatype_richcmp(newdatatypeobject *obj1, newdatatypeobject *obj2, int op)
{
PyObject *result;
int c, size1, size2;
Expand Down
0