mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Use lowercase type everywhere (#6853)
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, Type
|
||||
from typing import Any, Iterable, Protocol, Sequence
|
||||
|
||||
_T = typing.TypeVar("_T", bound="ZoneInfo")
|
||||
|
||||
@@ -14,9 +14,9 @@ class ZoneInfo(tzinfo):
|
||||
def key(self) -> str: ...
|
||||
def __init__(self, key: str) -> None: ...
|
||||
@classmethod
|
||||
def no_cache(cls: Type[_T], key: str) -> _T: ...
|
||||
def no_cache(cls: type[_T], key: str) -> _T: ...
|
||||
@classmethod
|
||||
def from_file(cls: Type[_T], __fobj: _IOBytes, key: str | None = ...) -> _T: ...
|
||||
def from_file(cls: type[_T], __fobj: _IOBytes, key: str | None = ...) -> _T: ...
|
||||
@classmethod
|
||||
def clear_cache(cls, *, only_keys: Iterable[str] = ...) -> None: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user