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:
Oleg Höfling
2021-08-11 19:26:58 +02:00
committed by GitHub
parent 6c41e3cead
commit 64f481189f
34 changed files with 325 additions and 325 deletions

View File

@@ -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: ...