mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
8 lines
242 B
Python
8 lines
242 B
Python
from typing import Any, Dict, Optional, Union
|
|
|
|
_Text = Union[str, unicode]
|
|
|
|
class Completer:
|
|
def __init__(self, namespace: Optional[Dict[str, Any]] = ...) -> None: ...
|
|
def complete(self, text: _Text, state: int) -> Optional[str]: ...
|