From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 14 Jan 2025 15:26:46 +0000 (+0100) Subject: [3.12] Fix a "doctest" block in `Doc/library/turtle.rst` (GH-128831) (#128836) X-Git-Tag: v3.12.9~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=54c9597a50279629d2a6d76313a2788ee650176a;p=thirdparty%2FPython%2Fcpython.git [3.12] Fix a "doctest" block in `Doc/library/turtle.rst` (GH-128831) (#128836) Fix a "doctest" block in `Doc/library/turtle.rst` (GH-128831) (cherry picked from commit 1598e18a659ef3a533caa0a79a489a3ed1d80bdd) Co-authored-by: Rafael Fontenelle --- diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index ea5e21f1da48..a3954bea6729 100644 --- a/Doc/library/turtle.rst +++ b/Doc/library/turtle.rst @@ -979,8 +979,8 @@ Settings for measurement >>> turtle.heading() 90.0 - Change angle measurement unit to grad (also known as gon, - grade, or gradian and equals 1/100-th of the right angle.) + >>> # Change angle measurement unit to grad (also known as gon, + >>> # grade, or gradian and equals 1/100-th of the right angle.) >>> turtle.degrees(400.0) >>> turtle.heading() 100.0