-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-101575: document Decimal.__round__() #101737
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
Conversation
@encukou , is this something we could merge? |
Thanks for the mention. I'm not sure how this should be best documented; perhaps |
After talking to a few docs people, I'm pretty sure |
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.
Some wording suggestions
Generally, you'd use .. describe:: round(x)
.. describe:: round(x, n) Using a signature-based description would indeed be more confusing IMO. |
Thank you for the fix, @OTheDev! |
(cherry picked from commit 7dd8c37) Co-authored-by: Owain Davies <[email protected]>
(cherry picked from commit 7dd8c37) Co-authored-by: Owain Davies <[email protected]>
GH-120394 is a backport of this pull request to the 3.13 branch. |
GH-120395 is a backport of this pull request to the 3.12 branch. |
cc @mdickinson