From: zipperer <47086307+zipperer@users.noreply.github.com> Date: Sun, 8 Oct 2023 00:07:36 +0000 (-0500) Subject: Update floatingpoint.rst (#110509) X-Git-Tag: v3.13.0a1~96 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8e56d551ceef37a307280bcc5303bf69ccc9f9c1;p=thirdparty%2FPython%2Fcpython.git 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::` --- diff --git a/Doc/tutorial/floatingpoint.rst b/Doc/tutorial/floatingpoint.rst index b88055a41fd1..30f3dfb6b238 100644 --- a/Doc/tutorial/floatingpoint.rst +++ b/Doc/tutorial/floatingpoint.rst @@ -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::