mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
_curses: fix positional-only args (#5279)
This commit is contained in:
@@ -378,11 +378,11 @@ class _CursesWindow:
|
||||
def addstr(self, str: str, attr: int = ...) -> None: ...
|
||||
@overload
|
||||
def addstr(self, y: int, x: int, str: str, attr: int = ...) -> None: ...
|
||||
def attroff(self, attr: int) -> None: ...
|
||||
def attron(self, attr: int) -> None: ...
|
||||
def attrset(self, attr: int) -> None: ...
|
||||
def bkgd(self, ch: _chtype, attr: int = ...) -> None: ...
|
||||
def bkgdset(self, ch: _chtype, attr: int = ...) -> None: ...
|
||||
def attroff(self, __attr: int) -> None: ...
|
||||
def attron(self, __attr: int) -> None: ...
|
||||
def attrset(self, __attr: int) -> None: ...
|
||||
def bkgd(self, __ch: _chtype, __attr: int = ...) -> None: ...
|
||||
def bkgdset(self, __ch: _chtype, __attr: int = ...) -> None: ...
|
||||
def border(
|
||||
self,
|
||||
ls: _chtype = ...,
|
||||
@@ -420,8 +420,8 @@ class _CursesWindow:
|
||||
def derwin(self, begin_y: int, begin_x: int) -> _CursesWindow: ...
|
||||
@overload
|
||||
def derwin(self, nlines: int, ncols: int, begin_y: int, begin_x: int) -> _CursesWindow: ...
|
||||
def echochar(self, ch: _chtype, attr: int = ...) -> None: ...
|
||||
def enclose(self, y: int, x: int) -> bool: ...
|
||||
def echochar(self, __ch: _chtype, __attr: int = ...) -> None: ...
|
||||
def enclose(self, __y: int, __x: int) -> bool: ...
|
||||
def erase(self) -> None: ...
|
||||
def getbegyx(self) -> Tuple[int, int]: ...
|
||||
def getbkgd(self) -> Tuple[int, int]: ...
|
||||
@@ -478,7 +478,7 @@ class _CursesWindow:
|
||||
def instr(self, n: int = ...) -> _chtype: ...
|
||||
@overload
|
||||
def instr(self, y: int, x: int, n: int = ...) -> _chtype: ...
|
||||
def is_linetouched(self, line: int) -> bool: ...
|
||||
def is_linetouched(self, __line: int) -> bool: ...
|
||||
def is_wintouched(self) -> bool: ...
|
||||
def keypad(self, yes: bool) -> None: ...
|
||||
def leaveok(self, yes: bool) -> None: ...
|
||||
@@ -500,8 +500,8 @@ class _CursesWindow:
|
||||
def overwrite(
|
||||
self, destwin: _CursesWindow, sminrow: int, smincol: int, dminrow: int, dmincol: int, dmaxrow: int, dmaxcol: int
|
||||
) -> None: ...
|
||||
def putwin(self, file: IO[Any]) -> None: ...
|
||||
def redrawln(self, beg: int, num: int) -> None: ...
|
||||
def putwin(self, __file: IO[Any]) -> None: ...
|
||||
def redrawln(self, __beg: int, __num: int) -> None: ...
|
||||
def redrawwin(self) -> None: ...
|
||||
@overload
|
||||
def refresh(self) -> None: ...
|
||||
@@ -510,7 +510,7 @@ class _CursesWindow:
|
||||
def resize(self, nlines: int, ncols: int) -> None: ...
|
||||
def scroll(self, lines: int = ...) -> None: ...
|
||||
def scrollok(self, flag: bool) -> None: ...
|
||||
def setscrreg(self, top: int, bottom: int) -> None: ...
|
||||
def setscrreg(self, __top: int, __bottom: int) -> None: ...
|
||||
def standend(self) -> None: ...
|
||||
def standout(self) -> None: ...
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user