-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
gh-101100: Docs: Fix references to several numeric dunders #106278
Conversation
``__index__``, ``__int__``, ``__float__``, ``__complex__`` are methods of ``object``, so prepended `~object` to reference correctly.
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.
A few small nits, but looks great overall. Thanks!
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
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, thanks!
object
methods
Thanks @F3eQnxN3RriK for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
…honGH-106278) (cherry picked from commit a8ae739) Co-authored-by: F3eQnxN3RriK <drsuaimqjgar@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
GH-106281 is a backport of this pull request to the 3.12 branch. |
…honGH-106278) (cherry picked from commit a8ae739) Co-authored-by: F3eQnxN3RriK <drsuaimqjgar@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
GH-106282 is a backport of this pull request to the 3.11 branch. |
__index__
,__int__
,__float__
,__complex__
are documented as methods ofobject
, so prepended~object
to reference correctly.📚 Documentation preview 📚: https://cpython-previews--106278.org.readthedocs.build/