third iteration of stubs

This commit is contained in:
Maxim Kurnikov
2018-08-11 00:19:50 +03:00
parent fa718b8e55
commit c6bceb19f4
216 changed files with 16306 additions and 3006 deletions

View File

@@ -7,7 +7,7 @@ RESET: str
opt_dict: Any
def colorize(
text: Optional[str] = ..., opts: Union[str, Tuple] = ..., **kwargs: Any
text: Optional[str] = ..., opts: Union[Tuple, str] = ..., **kwargs: Any
) -> str: ...
def make_style(opts: Tuple = ..., **kwargs: Any) -> Callable: ...
@@ -20,8 +20,11 @@ DEFAULT_PALETTE = DARK_PALETTE
def parse_color_setting(
config_string: str
) -> Optional[
Union[
Dict[str, Dict[str, Union[str, Tuple[str]]]],
Dict[str, Dict[str, Union[str, Tuple[str, str]]]],
Dict[
str,
Union[
Dict[str, Union[Tuple[str, str], str]],
Dict[str, Union[Tuple[str], str]],
],
]
]: ...