Skip to content

Commit 96e42d2

Browse 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 <[email protected]>
1 parent 481aa7a commit 96e42d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/floatingpoint.rst

Lines 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)