[Python-checkins] bpo-45837: Note tiltangle is not deprecated, it's really settiltangle (GH-29630)
ambv
webhook-mailer at python.org
Fri Nov 19 13:55:29 EST 2021
https://github.com/python/cpython/commit/e8d41eea7a73a91cf1da2a4e60245902226bc599
commit: e8d41eea7a73a91cf1da2a4e60245902226bc599
branch: 3.9
author: Hugo van Kemenade <hugovk at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2021-11-19T19:55:15+01:00
summary:
bpo-45837: Note tiltangle is not deprecated, it's really settiltangle (GH-29630)
files:
M Lib/turtle.py
diff --git a/Lib/turtle.py b/Lib/turtle.py
index 793b35e2403d1..9c8f6ced25084 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