Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
gh-141004: Document PyODict* APIs#141136
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
ZeroIntensity commented Nov 6, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Doc/c-api/dict.rst Outdated
| Return true if *od* is a dict object, but not an instance of a subtype of | ||
| the :class:`~collections.OrderedDict` type. This function always succeeds. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Return true if *od* is a dict object, but not an instance of a subtype of | |
| the :class:`~collections.OrderedDict` type. This function always succeeds. | |
| Return true if *od* is an ordered dictionary object, but not | |
| an instance of a subtype of the :class:`~collections.OrderedDict` type. | |
| This function always succeeds. |
- a dict object+ an ordered dictionary objectThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applied this one locally because I didn't want to deal with conflicts.
Doc/c-api/dict.rst Outdated
| Since Python 3.7, dictionaries are ordered by default, so there is usually | ||
| little need for this object. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest moving this to the introductory paragraph.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Uh oh!
There was an error while loading. Please reload this page.
ZeroIntensity commented Nov 12, 2025
I'd like to finish #141009 before doing this one. |
These are documented now so we can link to them.
StanFromIreland left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
b362632 into python:mainUh oh!
There was an error while loading. Please reload this page.
Thanks @ZeroIntensity for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
(cherry picked from commit b362632) Co-authored-by: Peter Bierma <[email protected]>
GH-141677 is a backport of this pull request to the 3.14 branch. |
(cherry picked from commit b362632) Co-authored-by: Peter Bierma <[email protected]>
GH-141678 is a backport of this pull request to the 3.13 branch. |
📚 Documentation preview 📚: https://cpython-previews--141136.org.readthedocs.build/en/141136/c-api/dict.html#ordered-dictionaries