Add default values for termcolor (#9963)

This commit is contained in:
Avasam
2023-03-27 17:56:59 -04:00
committed by GitHub
parent 4090282da3
commit 72456da2a3

View File

@@ -8,7 +8,7 @@ COLORS: dict[str, int]
HIGHLIGHTS: dict[str, int]
RESET: str
def colored(text: str, color: str | None = ..., on_color: str | None = ..., attrs: Iterable[str] | None = ...) -> str: ...
def colored(text: str, color: str | None = None, on_color: str | None = None, attrs: Iterable[str] | None = None) -> str: ...
def cprint(
text: str, color: str | None = ..., on_color: str | None = ..., attrs: Iterable[str] | None = ..., **kwargs: Any
text: str, color: str | None = None, on_color: str | None = None, attrs: Iterable[str] | None = None, **kwargs: Any
) -> None: ...