Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d364201

Browse files
authored
_curses: fix positional-only args (#5279)
1 parent 545a54e commit d364201

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

stdlib/_curses.pyi

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -378,11 +378,11 @@ class _CursesWindow:
378378
def addstr(self, str: str, attr: int = ...) -> None: ...
379379
@overload
380380
def addstr(self, y: int, x: int, str: str, attr: int = ...) -> None: ...
381-
def attroff(self, attr: int) -> None: ...
382-
def attron(self, attr: int) -> None: ...
383-
def attrset(self, attr: int) -> None: ...
384-
def bkgd(self, ch: _chtype, attr: int = ...) -> None: ...
385-
def bkgdset(self, ch: _chtype, attr: int = ...) -> None: ...
381+
def attroff(self, __attr: int) -> None: ...
382+
def attron(self, __attr: int) -> None: ...
383+
def attrset(self, __attr: int) -> None: ...
384+
def bkgd(self, __ch: _chtype, __attr: int = ...) -> None: ...
385+
def bkgdset(self, __ch: _chtype, __attr: int = ...) -> None: ...
386386
def border(
387387
self,
388388
ls: _chtype = ...,
@@ -420,8 +420,8 @@ class _CursesWindow:
420420
def derwin(self, begin_y: int, begin_x: int) -> _CursesWindow: ...
421421
@overload
422422
def derwin(self, nlines: int, ncols: int, begin_y: int, begin_x: int) -> _CursesWindow: ...
423-
def echochar(self, ch: _chtype, attr: int = ...) -> None: ...
424-
def enclose(self, y: int, x: int) -> bool: ...
423+
def echochar(self, __ch: _chtype, __attr: int = ...) -> None: ...
424+
def enclose(self, __y: int, __x: int) -> bool: ...
425425
def erase(self) -> None: ...
426426
def getbegyx(self) -> Tuple[int, int]: ...
427427
def getbkgd(self) -> Tuple[int, int]: ...
@@ -478,7 +478,7 @@ class _CursesWindow:
478478
def instr(self, n: int = ...) -> _chtype: ...
479479
@overload
480480
def instr(self, y: int, x: int, n: int = ...) -> _chtype: ...
481-
def is_linetouched(self, line: int) -> bool: ...
481+
def is_linetouched(self, __line: int) -> bool: ...
482482
def is_wintouched(self) -> bool: ...
483483
def keypad(self, yes: bool) -> None: ...
484484
def leaveok(self, yes: bool) -> None: ...
@@ -500,8 +500,8 @@ class _CursesWindow:
500500
def overwrite(
501501
self, destwin: _CursesWindow, sminrow: int, smincol: int, dminrow: int, dmincol: int, dmaxrow: int, dmaxcol: int
502502
) -> None: ...
503-
def putwin(self, file: IO[Any]) -> None: ...
504-
def redrawln(self, beg: int, num: int) -> None: ...
503+
def putwin(self, __file: IO[Any]) -> None: ...
504+
def redrawln(self, __beg: int, __num: int) -> None: ...
505505
def redrawwin(self) -> None: ...
506506
@overload
507507
def refresh(self) -> None: ...
@@ -510,7 +510,7 @@ class _CursesWindow:
510510
def resize(self, nlines: int, ncols: int) -> None: ...
511511
def scroll(self, lines: int = ...) -> None: ...
512512
def scrollok(self, flag: bool) -> None: ...
513-
def setscrreg(self, top: int, bottom: int) -> None: ...
513+
def setscrreg(self, __top: int, __bottom: int) -> None: ...
514514
def standend(self) -> None: ...
515515
def standout(self) -> None: ...
516516
@overload

0 commit comments

Comments
 (0)