mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-20 10:02:51 +08:00
Use lowercase set/deque in stdlib subdirectories (#6350)
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user