mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-30 07:57:21 +08:00
add missing type hints in termcolor (#5813)
This commit is contained in:
1 parent
69c56b9496
commit
3ed0bb0880
2 files changed
+6
-1
No files matched your search
@@ -1,2 +1,2 @@
|
||||
version = "0.1"
|
||||
version = "1.1"
|
||||
python2 = true
|
||||
@@ -1,5 +1,10 @@
|
||||
from typing import Any, Iterable, Optional, Text
|
||||
|
||||
ATTRIBUTES: dict[str, int]
|
||||
COLORS: dict[str, int]
|
||||
HIGHLIGHTS: dict[str, int]
|
||||
RESET: str
|
||||
|
||||
def colored(
|
||||
text: Text, color: Optional[Text] = ..., on_color: Optional[Text] = ..., attrs: Optional[Iterable[Text]] = ...
|
||||
) -> Text: ...
|
||||
|
||||
Reference in new issue
Block a user