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-08 00:07:58 +00:00
committed by GitHub
co-authored by pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Alex Waygood
parent f4ae363b56
commit 967f83db09
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -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]: ...