mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
stdlib: add defaults for modules accessible on MacOS (#9659)
Ran stubdefaulter with standard options on a Mac.
This commit is contained in:
@@ -274,7 +274,7 @@ if sys.platform != "win32":
|
||||
def baudrate() -> int: ...
|
||||
def beep() -> None: ...
|
||||
def can_change_color() -> bool: ...
|
||||
def cbreak(__flag: bool = ...) -> None: ...
|
||||
def cbreak(__flag: bool = True) -> None: ...
|
||||
def color_content(__color_number: int) -> tuple[int, int, int]: ...
|
||||
# Changed in Python 3.8.8 and 3.9.2
|
||||
if sys.version_info >= (3, 8):
|
||||
@@ -287,7 +287,7 @@ if sys.platform != "win32":
|
||||
def def_shell_mode() -> None: ...
|
||||
def delay_output(__ms: int) -> None: ...
|
||||
def doupdate() -> None: ...
|
||||
def echo(__flag: bool = ...) -> None: ...
|
||||
def echo(__flag: bool = True) -> None: ...
|
||||
def endwin() -> None: ...
|
||||
def erasechar() -> bytes: ...
|
||||
def filter() -> None: ...
|
||||
@@ -323,7 +323,7 @@ if sys.platform != "win32":
|
||||
def napms(__ms: int) -> int: ...
|
||||
def newpad(__nlines: int, __ncols: int) -> _CursesWindow: ...
|
||||
def newwin(__nlines: int, __ncols: int, __begin_y: int = ..., __begin_x: int = ...) -> _CursesWindow: ...
|
||||
def nl(__flag: bool = ...) -> None: ...
|
||||
def nl(__flag: bool = True) -> None: ...
|
||||
def nocbreak() -> None: ...
|
||||
def noecho() -> None: ...
|
||||
def nonl() -> None: ...
|
||||
@@ -332,8 +332,8 @@ if sys.platform != "win32":
|
||||
def pair_content(__pair_number: int) -> tuple[int, int]: ...
|
||||
def pair_number(__attr: int) -> int: ...
|
||||
def putp(__string: ReadOnlyBuffer) -> None: ...
|
||||
def qiflush(__flag: bool = ...) -> None: ...
|
||||
def raw(__flag: bool = ...) -> None: ...
|
||||
def qiflush(__flag: bool = True) -> None: ...
|
||||
def raw(__flag: bool = True) -> None: ...
|
||||
def reset_prog_mode() -> None: ...
|
||||
def reset_shell_mode() -> None: ...
|
||||
def resetty() -> None: ...
|
||||
@@ -354,15 +354,15 @@ if sys.platform != "win32":
|
||||
def tigetstr(__capname: str) -> bytes | None: ...
|
||||
def tparm(
|
||||
__str: ReadOnlyBuffer,
|
||||
__i1: int = ...,
|
||||
__i2: int = ...,
|
||||
__i3: int = ...,
|
||||
__i4: int = ...,
|
||||
__i5: int = ...,
|
||||
__i6: int = ...,
|
||||
__i7: int = ...,
|
||||
__i8: int = ...,
|
||||
__i9: int = ...,
|
||||
__i1: int = 0,
|
||||
__i2: int = 0,
|
||||
__i3: int = 0,
|
||||
__i4: int = 0,
|
||||
__i5: int = 0,
|
||||
__i6: int = 0,
|
||||
__i7: int = 0,
|
||||
__i8: int = 0,
|
||||
__i9: int = 0,
|
||||
) -> bytes: ...
|
||||
def typeahead(__fd: int) -> None: ...
|
||||
def unctrl(__ch: _ChType) -> bytes: ...
|
||||
|
||||
Reference in New Issue
Block a user