https://github.com/python/cpython/commit/1598e18a659ef3a533caa0a79a489a3ed1d80bdd
commit: 1598e18a659ef3a533caa0a79a489a3ed1d80bdd
branch: main
author: Rafael Fontenelle <[email protected]>
committer: picnixz <[email protected]>
date: 2025-01-14T16:17:24+01:00
summary:
Fix a "doctest" block in `Doc/library/turtle.rst` (#128831)
files:
M Doc/library/turtle.rst
diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst
index 61e2d125445b5a..548b9d3543fb94 100644
--- a/Doc/library/turtle.rst
+++ b/Doc/library/turtle.rst
@@ -993,8 +993,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]