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:
Henry Schreiner
2022-03-07 19:07:58 -05:00
committed by GitHub
parent f4ae363b56
commit 967f83db09
3 changed files with 4 additions and 2 deletions

View File

@@ -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]: ...