Use lowercase set/deque in stdlib subdirectories (#6350)

This commit is contained in:
Alex Waygood
2021-11-20 12:20:25 +00:00
committed by GitHub
parent 5c8e68f0eb
commit 029cf555e7
11 changed files with 44 additions and 42 deletions

View File

@@ -1,7 +1,7 @@
import typing
from _typeshed import StrPath
from datetime import tzinfo
from typing import Any, Iterable, Protocol, Sequence, Set, Type
from typing import Any, Iterable, Protocol, Sequence, Type
_T = typing.TypeVar("_T", bound="ZoneInfo")
@@ -24,7 +24,7 @@ class ZoneInfo(tzinfo):
# a sequence of strings is required. This should be remedied if a solution
# to this typing bug is found: https://github.com/python/typing/issues/256
def reset_tzpath(to: Sequence[StrPath] | None = ...) -> None: ...
def available_timezones() -> Set[str]: ...
def available_timezones() -> set[str]: ...
TZPATH: Sequence[str]