8000 PEP 3141: Wrong order for self and other in rdivmod description · Issue #4369 · python/peps · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

PEP 3141: Wrong order for self and other in rdivmod description #4369

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

Closed
ediosyncratic opened this issue Apr 13, 2025 · 2 comments
Closed

PEP 3141: Wrong order for self and other in rdivmod description #4369

ediosyncratic opened this issue Apr 13, 2025 · 2 comments

Comments

@ediosyncratic
Copy link
ediosyncratic commented Apr 13, 2025

"""The pair (self // other, self % other).

The __rdivmod__ doc is just a copy of the __divmod__ one; but, of course, self and other should be swapped.

@skirpichev
Copy link
Contributor
skirpichev commented Apr 13, 2025

Again, as in #4370, you should consult docs: https://docs.python.org/3/reference/datamodel.html#object.__rdivmod__

@hugovk hugovk changed the title Wrong order for self and other in rdivmod description PEP 3141: Wrong order for self and other in rdivmod description Apr 13, 2025
@hugovk
Copy link
Member
hugovk commented Apr 13, 2025

If you have further questions, please ask in https://discuss.python.org/c/help/7.

@hugovk hugovk closed this as not planned Won't fix, can't repro, duplicate, stale Apr 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0