mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
drop ellipsis assignments from module vars, classvars and instance attrs (#5914)
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
This commit is contained in:
@@ -19,11 +19,11 @@ _PolygonCoords = Sequence[Tuple[float, float]]
|
||||
Vec2D = Tuple[float, float]
|
||||
|
||||
class TurtleScreenBase(object):
|
||||
cv: Canvas = ...
|
||||
canvwidth: int = ...
|
||||
canvheight: int = ...
|
||||
xscale: float = ...
|
||||
yscale: float = ...
|
||||
cv: Canvas
|
||||
canvwidth: int
|
||||
canvheight: int
|
||||
xscale: float
|
||||
yscale: float
|
||||
def __init__(self, cv: Canvas) -> None: ...
|
||||
def mainloop(self) -> None: ...
|
||||
def textinput(self, title: str, prompt: str) -> str | None: ...
|
||||
@@ -93,10 +93,10 @@ class TurtleScreen(TurtleScreenBase):
|
||||
onkeyrelease = onkey
|
||||
|
||||
class TNavigator(object):
|
||||
START_ORIENTATION: dict[str, Vec2D] = ...
|
||||
DEFAULT_MODE: str = ...
|
||||
DEFAULT_ANGLEOFFSET: int = ...
|
||||
DEFAULT_ANGLEORIENT: int = ...
|
||||
START_ORIENTATION: dict[str, Vec2D]
|
||||
DEFAULT_MODE: str
|
||||
DEFAULT_ANGLEOFFSET: int
|
||||
DEFAULT_ANGLEORIENT: int
|
||||
def __init__(self, mode: str = ...) -> None: ...
|
||||
def reset(self) -> None: ...
|
||||
def degrees(self, fullcircle: float = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user