mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Use lowercase type everywhere (#6853)
This commit is contained in:
@@ -31,7 +31,7 @@ from typing import (
|
||||
|
||||
_T = TypeVar("_T")
|
||||
_F = TypeVar("_F", bound=Callable[..., Any])
|
||||
_TC = TypeVar("_TC", bound=Type[object])
|
||||
_TC = TypeVar("_TC", bound=type[object])
|
||||
|
||||
class _SpecialForm:
|
||||
def __getitem__(self, typeargs: Any) -> Any: ...
|
||||
@@ -109,11 +109,11 @@ else:
|
||||
def __init__(self, origin: ParamSpec) -> None: ...
|
||||
class ParamSpec:
|
||||
__name__: str
|
||||
__bound__: Type[Any] | None
|
||||
__bound__: type[Any] | None
|
||||
__covariant__: bool
|
||||
__contravariant__: bool
|
||||
def __init__(
|
||||
self, name: str, *, bound: None | Type[Any] | str = ..., contravariant: bool = ..., covariant: bool = ...
|
||||
self, name: str, *, bound: None | type[Any] | str = ..., contravariant: bool = ..., covariant: bool = ...
|
||||
) -> None: ...
|
||||
@property
|
||||
def args(self) -> ParamSpecArgs: ...
|
||||
|
||||
Reference in New Issue
Block a user