mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
stdlib: add defaults for modules accessible on MacOS (#9659)
Ran stubdefaulter with standard options on a Mac.
This commit is contained in:
@@ -8,13 +8,13 @@ if sys.platform != "win32":
|
||||
_CompDisp: TypeAlias = Callable[[str, Sequence[str], int], None]
|
||||
|
||||
def parse_and_bind(__string: str) -> None: ...
|
||||
def read_init_file(__filename: StrOrBytesPath | None = ...) -> None: ...
|
||||
def read_init_file(__filename: StrOrBytesPath | None = None) -> None: ...
|
||||
def get_line_buffer() -> str: ...
|
||||
def insert_text(__string: str) -> None: ...
|
||||
def redisplay() -> None: ...
|
||||
def read_history_file(__filename: StrOrBytesPath | None = ...) -> None: ...
|
||||
def write_history_file(__filename: StrOrBytesPath | None = ...) -> None: ...
|
||||
def append_history_file(__nelements: int, __filename: StrOrBytesPath | None = ...) -> None: ...
|
||||
def read_history_file(__filename: StrOrBytesPath | None = None) -> None: ...
|
||||
def write_history_file(__filename: StrOrBytesPath | None = None) -> None: ...
|
||||
def append_history_file(__nelements: int, __filename: StrOrBytesPath | None = None) -> None: ...
|
||||
def get_history_length() -> int: ...
|
||||
def set_history_length(__length: int) -> None: ...
|
||||
def clear_history() -> None: ...
|
||||
@@ -24,13 +24,13 @@ if sys.platform != "win32":
|
||||
def replace_history_item(__pos: int, __line: str) -> None: ...
|
||||
def add_history(__string: str) -> None: ...
|
||||
def set_auto_history(__enabled: bool) -> None: ...
|
||||
def set_startup_hook(__function: Callable[[], object] | None = ...) -> None: ...
|
||||
def set_pre_input_hook(__function: Callable[[], object] | None = ...) -> None: ...
|
||||
def set_completer(__function: _Completer | None = ...) -> None: ...
|
||||
def set_startup_hook(__function: Callable[[], object] | None = None) -> None: ...
|
||||
def set_pre_input_hook(__function: Callable[[], object] | None = None) -> None: ...
|
||||
def set_completer(__function: _Completer | None = None) -> None: ...
|
||||
def get_completer() -> _Completer | None: ...
|
||||
def get_completion_type() -> int: ...
|
||||
def get_begidx() -> int: ...
|
||||
def get_endidx() -> int: ...
|
||||
def set_completer_delims(__string: str) -> None: ...
|
||||
def get_completer_delims() -> str: ...
|
||||
def set_completion_display_matches_hook(__function: _CompDisp | None = ...) -> None: ...
|
||||
def set_completion_display_matches_hook(__function: _CompDisp | None = None) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user