Files
typeshed/stdlib/@python2/rlcompleter.pyi
Henry Schreiner 967f83db09 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>
2022-03-08 00:07:58 +00:00

10 lines
338 B
Python

from typing import Any, Union
_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]: ...