mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-26 03:27:14 +08:00
apply black and isort (#4287)
* apply black and isort * move some type ignores
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
# Stubs for rlcompleter
|
||||
|
||||
from typing import Any, Dict, Optional, Union
|
||||
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]: ...
|
||||
|
||||
Reference in New Issue
Block a user