diff --git a/stdlib/turtle.pyi b/stdlib/turtle.pyi index eee601823..a44b25926 100644 --- a/stdlib/turtle.pyi +++ b/stdlib/turtle.pyi @@ -295,8 +295,6 @@ class _Screen(TurtleScreen): def bye(self) -> None: ... def exitonclick(self) -> None: ... -def Screen() -> _Screen: ... - class Turtle(RawTurtle): def __init__(self, shape: str = ..., undobuffersize: int = ..., visible: bool = ...) -> None: ... @@ -381,6 +379,14 @@ if sys.version_info >= (3,): def onkeypress(fun: Callable[[], Any], key: Optional[str] = ...) -> None: ... onkeyrelease = onkey +# Functions copied from _Screen: + +def setup(width: float = ..., height: float = ..., startx: Optional[int] = ..., starty: Optional[int] = ...) -> None: ... +def title(titlestring: str) -> None: ... +def bye() -> None: ... +def exitonclick() -> None: ... +def Screen() -> _Screen: ... + # Functions copied from TNavigator: def degrees(fullcircle: float = ...) -> None: ...