mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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::`
This commit is contained in:
parent
dd9d781da3
commit
8e56d551ce
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ the :func:`math.isclose` function can be useful for comparing inexact values:
|
|||
True
|
||||
|
||||
Alternatively, the :func:`round` function can be used to compare rough
|
||||
approximations::
|
||||
approximations:
|
||||
|
||||
.. doctest::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue