[3.13] Fix a "doctest" block in `Doc/library/turtle.rst` (GH-128831) (#128835)
https://github.com/python/cpython/commit/0998eb6275e1734d5cbf24a914408fe4db4... commit: 0998eb6275e1734d5cbf24a914408fe4db4b70f1 branch: 3.13 author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> committer: picnixz <10796600+picnixz@users.noreply.github.com> date: 2025-01-14T15:28:01Z summary: [3.13] Fix a "doctest" block in `Doc/library/turtle.rst` (GH-128831) (#128835) 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> files: M Doc/library/turtle.rst diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index afda3685d606bb..38f3263b14bd9a 100644 --- a/Doc/library/turtle.rst +++ b/Doc/library/turtle.rst @@ -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
participants (1)
-
picnixz