mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
10 lines
325 B
Python
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]: ...
|