mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add readline.backend for 3.13 (#12384)
This commit is contained in:
@@ -8,7 +8,6 @@ fcntl.F_SETNOSIGPIPE
|
||||
posixpath.splitroot
|
||||
posix.waitid
|
||||
posix.waitid_result
|
||||
readline.backend
|
||||
webbrowser.MacOSX
|
||||
|
||||
# TODO: fix
|
||||
|
||||
@@ -3,6 +3,5 @@ _stat.SF_SUPPORTED
|
||||
_stat.SF_SYNTHETIC
|
||||
mmap.MAP_NORESERVE
|
||||
posixpath.splitroot
|
||||
readline.backend
|
||||
stat.SF_SUPPORTED
|
||||
stat.SF_SYNTHETIC
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import sys
|
||||
from _typeshed import StrOrBytesPath
|
||||
from collections.abc import Callable, Sequence
|
||||
from typing import Literal
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
if sys.platform != "win32":
|
||||
@@ -34,3 +35,6 @@ if sys.platform != "win32":
|
||||
def set_completer_delims(string: str, /) -> None: ...
|
||||
def get_completer_delims() -> str: ...
|
||||
def set_completion_display_matches_hook(function: _CompDisp | None = None, /) -> None: ...
|
||||
|
||||
if sys.version_info >= (3, 13):
|
||||
backend: Literal["readline", "editline"]
|
||||
|
||||
Reference in New Issue
Block a user