mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
add turtle.TNavigator.speed (#13150)
This commit is contained in:
@@ -103,7 +103,6 @@ multiprocessing.pool.ThreadPool.Process
|
||||
multiprocessing.synchronize.Semaphore.get_value
|
||||
tkinter.Misc.config
|
||||
tkinter.font.Font.counter
|
||||
turtle.TNavigator.speed
|
||||
|
||||
_ctypes.PyObj_FromPtr
|
||||
_ctypes.Py_DECREF
|
||||
|
||||
@@ -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