127127 'isvisible' , 'left' , 'lt' , 'onclick' , 'ondrag' , 'onrelease' , 'pd' ,
128128 'pen' , 'pencolor' , 'pendown' , 'pensize' , 'penup' , 'pos' , 'position' ,
129129 'pu' , 'radians' , 'right' , 'reset' , 'resizemode' , 'rt' ,
130- 'seth' , 'setheading' , 'setpos' , 'setposition' , 'settiltangle' ,
130+ 'seth' , 'setheading' , 'setpos' , 'setposition' ,
131131 'setundobuffer' , 'setx' , 'sety' , 'shape' , 'shapesize' , 'shapetransform' , 'shearfactor' , 'showturtle' ,
132132 'speed' , 'st' , 'stamp' , 'teleport' , 'tilt' , 'tiltangle' , 'towards' ,
133133 'turtlesize' , 'undo' , 'undobufferentries' , 'up' , 'width' ,
@@ -2896,33 +2896,6 @@ def shearfactor(self, shear=None):
28962896 return self ._shearfactor
28972897 self .pen (resizemode = "user" , shearfactor = shear )
28982898
2899- def settiltangle (self , angle ):
2900- """Rotate the turtleshape to point in the specified direction
2901-
2902- Argument: angle -- number
2903-
2904- Rotate the turtleshape to point in the direction specified by angle,
2905- regardless of its current tilt-angle. DO NOT change the turtle's
2906- heading (direction of movement).
2907-
2908- Deprecated since Python 3.1
2909-
2910- Examples (for a Turtle instance named turtle):
2911- >>> turtle.shape("circle")
2912- >>> turtle.shapesize(5,2)
2913- >>> turtle.settiltangle(45)
2914- >>> turtle.stamp()
2915- >>> turtle.fd(50)
2916- >>> turtle.settiltangle(-45)
2917- >>> turtle.stamp()
2918- >>> turtle.fd(50)
2919- """
2920- warnings ._deprecated ("turtle.RawTurtle.settiltangle()" ,
2921- "{name!r} is deprecated since Python 3.1 and scheduled "
2922- "for removal in Python {remove}. Use tiltangle() instead." ,
2923- remove = (3 , 13 ))
2924- self .tiltangle (angle )
2925-
29262899 def tiltangle (self , angle = None ):
29272900 """Set or return the current tilt-angle.
29282901
@@ -2935,9 +2908,6 @@ def tiltangle(self, angle=None):
29352908 between the orientation of the turtleshape and the heading of the
29362909 turtle (its direction of movement).
29372910
2938- (Incorrectly marked as deprecated since Python 3.1, it is really
2939- settiltangle that is deprecated.)
2940-
29412911 Examples (for a Turtle instance named turtle):
29422912 >>> turtle.shape("circle")
29432913 >>> turtle.shapesize(5, 2)
0 commit comments