Skip to content

Commit d5a4c5d

Browse files
zippererGlyphack
authored andcommitted
Update floatingpoint.rst (python#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::`
1 parent 68a8c7f commit d5a4c5d

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)