Files
typeshed/stdlib/2and3/rlcompleter.pyi
Shantanu 6ff5b88ca7 typeshed: remove crufty comments (#4699)
Co-authored-by: hauntsaninja <>
2020-10-23 09:40:06 +02: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]: ...