Reduce use of deprecated typing aliases (#6358)

This commit is contained in:
Alex Waygood
2021-11-23 09:56:43 +00:00
committed by GitHub
parent 7e836db2f3
commit c685c2d6c6
19 changed files with 64 additions and 61 deletions

View File

@@ -3,7 +3,7 @@ from typing_extensions import TypedDict
from pygments.token import _TokenType
ansicolors: Set[str] # not intended to be mutable
ansicolors: Set[str] # not intended to be mutable (== typing.AbstractSet, not builtins.set)
class _StyleDict(TypedDict):
color: str | None