Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f9c0f5 commit 341689cCopy full SHA for 341689c
1 file changed
Lib/turtle.py
@@ -2863,10 +2863,10 @@ def settiltangle(self, angle):
2863
>>> turtle.stamp()
2864
>>> turtle.fd(50)
2865
"""
2866
- warnings.warn("turtle.RawTurtle.settiltangle() is deprecated since "
2867
- "Python 3.1 and scheduled for removal in Python 3.13."
2868
- "Use tiltangle() instead.",
2869
- DeprecationWarning)
+ warnings._deprecated("turtle.RawTurtle.settiltangle()",
+ "{name!r} is deprecated since Python 3.1 and scheduled "
+ "for removal in Python {remove}. Use tiltangle() instead.",
+ remove=(3, 13))
2870
self.tiltangle(angle)
2871
2872
def tiltangle(self, angle=None):
0 commit comments