[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 8e56d551ce)

Co-authored-by: zipperer <47086307+zipperer@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2023-10-07 17:18:39 -07:00 committed by GitHub
parent 481aa7a40f
commit 96e42d2f8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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::