-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-113024: C API: Add PyObject_GenericHash() function #113025
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
Changes from 1 commit
9999130
a340ea0
ef45ba8
a3120c1
a09b510
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -883,6 +883,10 @@ and :c:data:`PyType_Type` effectively act as defaults.) | |
:c:member:`~PyTypeObject.tp_richcompare` and :c:member:`~PyTypeObject.tp_hash`, when the subtype's | ||
:c:member:`~PyTypeObject.tp_richcompare` and :c:member:`~PyTypeObject.tp_hash` are both ``NULL``. | ||
|
||
**Default:** | ||
|
||
:c:data:`PyBaseObject_Type` uses :c:func:`PyObject_GenericHash`. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is a warning: c:data reference target not found: PyBaseObject_Type There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is not new. There are 14 unresolved references to PyBaseObject_Type. The preferable solution is to add a target for it, but it is not so simple, and is a different issue anyway. |
||
|
||
|
||
.. c:member:: ternaryfunc PyTypeObject.tp_call | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add :c:func:`PyObject_GenericHash` function. |
Uh oh!
There was an error while loading. Please reload this page.