Stubs for termcolor (#1935)

This commit is contained in:
Luka Sterbic
2018-03-20 22:32:50 +00:00
committed by Matthias Kramm
parent a9cce0c94b
commit 89cbd47344

21
third_party/2and3/termcolor.pyi vendored Normal file
View File

@@ -0,0 +1,21 @@
# Stub for termcolor: https://pypi.python.org/pypi/termcolor
from typing import Any, Iterable, Optional, Text
def colored(
text: Text,
color: Optional[Text] = ...,
on_color: Optional[Text] = ...,
attrs: Optional[Iterable[Text]] = ...,
) -> Text:
...
def cprint(
text: Text,
color: Optional[Text] = ...,
on_color: Optional[Text] = ...,
attrs: Optional[Iterable[Text]] = ...,
**kwargs: Any,
) -> None:
...