Stubs for termcolor (#1935)

This commit is contained in:
Luka Sterbic authored and Matthias Kramm committed 2018-03-20 15:32:50 -07:00
1 parent a9cce0c94b
commit 89cbd47344
1 file changed
+21
+21
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:
...