From affe4d70612eb5c608f476ad4bf65c10929e6938 Mon Sep 17 00:00:00 2001 From: Galen Rice Date: Fri, 6 Oct 2023 12:53:53 -0400 Subject: [PATCH] fix: double colon at end of prose The presence of a double colon is causing `.. doctest::` to outut into the docs themselves. Removing the colon should allow it to parse properly. --- Doc/tutorial/floatingpoint.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tutorial/floatingpoint.rst b/Doc/tutorial/floatingpoint.rst index b88055a41fd1ff..30f3dfb6b238b4 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::