mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
add turtle.TNavigator.speed (#13150)
This commit is contained in:
@@ -283,6 +283,7 @@ class TNavigator:
|
||||
def heading(self) -> float: ...
|
||||
def setheading(self, to_angle: float) -> None: ...
|
||||
def circle(self, radius: float, extent: float | None = None, steps: int | None = None) -> None: ...
|
||||
def speed(self, s: int | None = 0) -> int | None: ...
|
||||
fd = forward
|
||||
bk = back
|
||||
backward = back
|
||||
@@ -363,7 +364,7 @@ class TPen:
|
||||
st = showturtle
|
||||
ht = hideturtle
|
||||
|
||||
class RawTurtle(TPen, TNavigator):
|
||||
class RawTurtle(TPen, TNavigator): # type: ignore[misc] # Conflicting methods in base classes
|
||||
screen: TurtleScreen
|
||||
screens: ClassVar[list[TurtleScreen]]
|
||||
def __init__(
|
||||
|
||||
Reference in New Issue
Block a user