mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 12:51:27 +08:00
rlcompleter: add attr_matches, global_matches (#7453)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -5,3 +5,5 @@ _Text = Union[str, unicode]
|
||||
class Completer:
|
||||
def __init__(self, namespace: dict[str, Any] | None = ...) -> None: ...
|
||||
def complete(self, text: _Text, state: int) -> str | None: ...
|
||||
def attr_matches(self, text: _Text) -> list[str]: ...
|
||||
def global_matches(self, text: _Text) -> list[str]: ...
|
||||
|
||||
@@ -5,3 +5,5 @@ __all__ = ["Completer"]
|
||||
class Completer:
|
||||
def __init__(self, namespace: dict[str, Any] | None = ...) -> None: ...
|
||||
def complete(self, text: str, state: int) -> str | None: ...
|
||||
def attr_matches(self, text: str) -> list[str]: ...
|
||||
def global_matches(self, text: str) -> list[str]: ...
|
||||
|
||||
@@ -737,8 +737,6 @@ multiprocessing.managers.SyncManager.Pool
|
||||
multiprocessing.pool.Pool.Process
|
||||
multiprocessing.pool.ThreadPool.Process
|
||||
multiprocessing.synchronize.Semaphore.get_value
|
||||
rlcompleter.Completer.attr_matches
|
||||
rlcompleter.Completer.global_matches
|
||||
tkinter.Misc.config
|
||||
tkinter.font.Font.counter
|
||||
tkinter.simpledialog.Dialog.apply
|
||||
|
||||
Reference in New Issue
Block a user