mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-03 01:53:24 +08:00
add missing type hints in termcolor (#5813)
This commit is contained in:
@@ -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