Files
typeshed/stdlib/@python2/rlcompleter.pyi
2022-03-16 16:01:33 +01:00

10 lines
325 B
Python

from typing import Any
_Text = 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]: ...