aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Lib/turtle.py
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.com>2024-09-17 19:54:19 +0300
committershadchin <shadchin@yandex-team.com>2024-09-17 20:04:48 +0300
commitad73802f079a708231d906dd7273a632db735851 (patch)
treed8b2b9f0b31430e69b777af21f63b432f4b92cc4 /contrib/tools/python3/Lib/turtle.py
parent7c4e4744ae44dd94daa179458190817615f9e8a1 (diff)
downloadydb-ad73802f079a708231d906dd7273a632db735851.tar.gz
Update Python 3 to 3.12.6
commit_hash:43ed87a61b9efe3a87682fda1f0bff6f7b422cc9
Diffstat (limited to 'contrib/tools/python3/Lib/turtle.py')
-rw-r--r--contrib/tools/python3/Lib/turtle.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/tools/python3/Lib/turtle.py b/contrib/tools/python3/Lib/turtle.py
index 811c5dfa49..92ac58f8e6 100644
--- a/contrib/tools/python3/Lib/turtle.py
+++ b/contrib/tools/python3/Lib/turtle.py
@@ -1719,7 +1719,7 @@ class TNavigator(object):
>>> reset()
>>> turtle.left(60)
>>> turtle.forward(100)
- >>> print turtle.xcor()
+ >>> print(turtle.xcor())
50.0
"""
return self._position[0]
@@ -1733,7 +1733,7 @@ class TNavigator(object):
>>> reset()
>>> turtle.left(60)
>>> turtle.forward(100)
- >>> print turtle.ycor()
+ >>> print(turtle.ycor())
86.6025403784
"""
return self._position[1]
@@ -2336,7 +2336,7 @@ class TPen(object):
Example (for a Turtle instance named turtle):
>>> turtle.hideturtle()
- >>> print turtle.isvisible():
+ >>> print(turtle.isvisible())
False
"""
return self._shown