Skip to content

Commit 8e56d55

Browse files
authored
Update floatingpoint.rst (#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 dd9d781 commit 8e56d55

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)