Always alias collections.abc.Set (#6712)

This commit is contained in:
Alex Waygood authored and GitHub committed 2021-12-27 17:09:47 +01:00
1 parent 51a2cd1289
commit 975b3e901b
5 files changed
+14 -10

No files matched your search

+2 -2
View File
@@ -1,9 +1,9 @@
from collections.abc import Iterator, Mapping, Set
from collections.abc import Iterator, Mapping, Set as AbstractSet
from typing_extensions import TypedDict
from pygments.token import _TokenType
ansicolors: Set[str] # not intended to be mutable (== typing.AbstractSet, not builtins.set)
ansicolors: AbstractSet[str] # not intended to be mutable
class _StyleDict(TypedDict):
color: str | None