mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Use lowercase type everywhere (#6853)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
from typing import Any, Iterable, Type, TypeVar
|
||||
from typing import Any, Iterable, TypeVar
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
StringTypes: tuple[Type[str]]
|
||||
StringTypes: tuple[type[str]]
|
||||
|
||||
class NodeList(list[_T]):
|
||||
length: int
|
||||
@@ -14,4 +14,4 @@ class EmptyNodeList(tuple[Any, ...]):
|
||||
def __add__(self, other: Iterable[_T]) -> NodeList[_T]: ... # type: ignore[override]
|
||||
def __radd__(self, other: Iterable[_T]) -> NodeList[_T]: ...
|
||||
|
||||
def defproperty(klass: Type[Any], name: str, doc: str) -> None: ...
|
||||
def defproperty(klass: type[Any], name: str, doc: str) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user