]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Fix a "doctest" block in `Doc/library/turtle.rst` (GH-128831) (#128835)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 14 Jan 2025 15:28:01 +0000 (16:28 +0100)
committerGitHub <noreply@github.com>
Tue, 14 Jan 2025 15:28:01 +0000 (15:28 +0000)
Fix a "doctest" block in `Doc/library/turtle.rst` (GH-128831)
(cherry picked from commit 1598e18a659ef3a533caa0a79a489a3ed1d80bdd)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
Doc/library/turtle.rst

index afda3685d606bb74e63840ef86130e49446e76b6..38f3263b14bd9acf5374b7aba9c6c31d1d42e6ac 100644 (file)
@@ -987,8 +987,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