Files
typeshed/stdlib/rlcompleter.pyi
Ivan Levkivskyi 16ae4c6120 Re-organize directory structure (#4971)
See discussion in #2491

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
2021-01-27 12:00:39 +00:00

12 lines
308 B
Python

import sys
from typing import Any, Dict, Optional, Union
if sys.version_info >= (3,):
_Text = str
else:
_Text = Union[str, unicode]
class Completer:
def __init__(self, namespace: Optional[Dict[str, Any]] = ...) -> None: ...
def complete(self, text: _Text, state: int) -> Optional[str]: ...