Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 96e42d2

Browse filesBrowse files
[3.12] Update floatingpoint.rst (GH-110509) (#110513)
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>
1 parent 481aa7a commit 96e42d2
Copy full SHA for 96e42d2

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎Doc/tutorial/floatingpoint.rst

Copy file name to clipboardExpand all lines: Doc/tutorial/floatingpoint.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ the :func:`math.isclose` function can be useful for comparing inexact values:
137137
True
138138

139139
Alternatively, the :func:`round` function can be used to compare rough
140-
approximations::
140+
approximations:
141141

142142
.. doctest::
143143

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.