mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
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>
10 lines
338 B
Python
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]: ...
|