[3.12] Fix a "doctest" block in `Doc/library/turtle.rst` (GH-128831) (#128836)
https://github.com/python/cpython/commit/54c9597a50279629d2a6d76313a2788ee65... commit: 54c9597a50279629d2a6d76313a2788ee650176a branch: 3.12 author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> committer: picnixz <10796600+picnixz@users.noreply.github.com> 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 <rffontenelle@users.noreply.github.com> 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
participants (1)
-
picnixz