mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 20:01:29 +08:00
Use lowercase type everywhere (#6853)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import abc
|
||||
import sys
|
||||
from typing import Any, Callable, Generic, ItemsView, KeysView, Mapping, Type, TypeVar, ValuesView
|
||||
from typing import Any, Callable, Generic, ItemsView, KeysView, Mapping, TypeVar, ValuesView
|
||||
|
||||
_T = TypeVar("_T")
|
||||
_U = TypeVar("_U")
|
||||
@@ -25,7 +25,7 @@ class _TypedDict(Mapping[str, object], metaclass=abc.ABCMeta):
|
||||
def viewvalues(self) -> ValuesView[object]: ...
|
||||
def __delitem__(self, k: NoReturn) -> None: ...
|
||||
|
||||
def TypedDict(typename: str, fields: dict[str, Type[Any]], total: bool = ...) -> Type[dict[str, Any]]: ...
|
||||
def TypedDict(typename: str, fields: dict[str, type[Any]], total: bool = ...) -> type[dict[str, Any]]: ...
|
||||
def Arg(type: _T = ..., name: str | None = ...) -> _T: ...
|
||||
def DefaultArg(type: _T = ..., name: str | None = ...) -> _T: ...
|
||||
def NamedArg(type: _T = ..., name: str | None = ...) -> _T: ...
|
||||
|
||||
Reference in New Issue
Block a user