-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Update floatingpoint.rst #110509
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
Update floatingpoint.rst #110509
Conversation
This commit removes a ':'. I believe the extra colon causes a display error. What I believe to be an error: Above this expression `round(math.pi, ndigits=2) == round(22 / 7, ndigits=2)` the page displays `.. doctest::`. What I observed: After I remove the extra colon, the page does not display `.. doctest::`
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.
Thanks, good catch
Thanks @zipperer for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, @zipperer and @JelleZijlstra, I could not cleanly backport this to
|
This commit removes a ':'. I believe the extra colon causes a display error. What I believe to be an error: Above this expression `round(math.pi, ndigits=2) == round(22 / 7, ndigits=2)` the page displays `.. doctest::`. What I observed: After I remove the extra colon, the page does not display `.. doctest::` (cherry picked from commit 8e56d55) Co-authored-by: zipperer <47086307+zipperer@users.noreply.github.com>
GH-110513 is a backport of this pull request to the 3.12 branch. |
This section isn't in the 3.11 docs, so the 3.12 backport is enough. Thanks for the fix! |
Update floatingpoint.rst (GH-110509) This commit removes a ':'. I believe the extra colon causes a display error. What I believe to be an error: Above this expression `round(math.pi, ndigits=2) == round(22 / 7, ndigits=2)` the page displays `.. doctest::`. What I observed: After I remove the extra colon, the page does not display `.. doctest::` (cherry picked from commit 8e56d55) Co-authored-by: zipperer <47086307+zipperer@users.noreply.github.com>
This commit removes a ':'. I believe the extra colon causes a display error. What I believe to be an error: Above this expression `round(math.pi, ndigits=2) == round(22 / 7, ndigits=2)` the page displays `.. doctest::`. What I observed: After I remove the extra colon, the page does not display `.. doctest::`
This commit removes a ':'. I believe the extra colon causes a display error.
What I believe to be an error:
Above this expression
round(math.pi, ndigits=2) == round(22 / 7, ndigits=2)
the page displays.. doctest::
.What I observed:
After I remove the extra colon, the page does not display
.. doctest::
📚 Documentation preview 📚: https://cpython-previews--110509.org.readthedocs.build/