[Python-checkins] bpo-45837: Note tiltangle is not deprecated, it's really settiltangle (GH-29629)
ambv
webhook-mailer at python.org
Fri Nov 19 13:55:49 EST 2021
https://github.com/python/cpython/commit/9501e8d3a339c5a9217b7d90275d2a8c8cba5d13
commit: 9501e8d3a339c5a9217b7d90275d2a8c8cba5d13
branch: 3.10
author: Hugo van Kemenade <hugovk at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2021-11-19T19:55:40+01:00
summary:
bpo-45837: Note tiltangle is not deprecated, it's really settiltangle (GH-29629)
files:
M Lib/turtle.py
diff --git a/Lib/turtle.py b/Lib/turtle.py
index 7e36c2c51d3be..f3b320b90caeb 100644
--- a/Lib/turtle.py
+++ b/Lib/turtle.py
@@ -2877,7 +2877,8 @@ def tiltangle(self, angle=None):
between the orientation of the turtleshape and the heading of the
turtle (its direction of movement).
- Deprecated since Python 3.1
+ (Incorrectly marked as deprecated since Python 3.1, it is really
+ settiltangle that is deprecated.)
Examples (for a Turtle instance named turtle):
>>> turtle.shape("circle")
More information about the Python-checkins
mailing list