https://github.com/python/cpython/commit/54c9597a50279629d2a6d76313a2788ee650176a
commit: 54c9597a50279629d2a6d76313a2788ee650176a
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: picnixz <[email protected]>
date: 2025-01-14T15:26:46Z
summary:

[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 <[email protected]>

files:
M Doc/library/turtle.rst

diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst
index ea5e21f1da48d0..a3954bea672978 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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to