mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
Use PEP 570 syntax in stdlib (#11250)
This commit is contained in:
@@ -18,4 +18,4 @@ if sys.platform != "win32":
|
||||
COLORS: int
|
||||
COLOR_PAIRS: int
|
||||
|
||||
def wrapper(__func: Callable[Concatenate[_CursesWindow, _P], _T], *arg: _P.args, **kwds: _P.kwargs) -> _T: ...
|
||||
def wrapper(func: Callable[Concatenate[_CursesWindow, _P], _T], /, *arg: _P.args, **kwds: _P.kwargs) -> _T: ...
|
||||
|
||||
@@ -20,6 +20,6 @@ if sys.platform != "win32":
|
||||
def window(self) -> _CursesWindow: ...
|
||||
|
||||
def bottom_panel() -> _Curses_Panel: ...
|
||||
def new_panel(__win: _CursesWindow) -> _Curses_Panel: ...
|
||||
def new_panel(win: _CursesWindow, /) -> _Curses_Panel: ...
|
||||
def top_panel() -> _Curses_Panel: ...
|
||||
def update_panels() -> _Curses_Panel: ...
|
||||
|
||||
Reference in New Issue
Block a user