Use lowercase type everywhere (#6853)

This commit is contained in:
Alex Waygood
2022-01-08 15:09:29 +00:00
committed by GitHub
parent f8501d33c7
commit a40d79a4e6
172 changed files with 728 additions and 761 deletions

View File

@@ -1,4 +1,4 @@
from typing import Any, AnyStr, Callable, Sequence, Type, TypeVar
from typing import Any, AnyStr, Callable, Sequence, TypeVar
def with_repr(attrs: Sequence[AnyStr | Attribute]) -> Callable[..., Any]: ...
def with_cmp(attrs: Sequence[AnyStr | Attribute]) -> Callable[..., Any]: ...
@@ -18,7 +18,7 @@ def attributes(
apply_immutable: bool = ...,
store_attributes: Callable[[type, Attribute], Any] | None = ...,
**kw: dict[Any, Any] | None,
) -> Callable[[Type[_T]], Type[_T]]: ...
) -> Callable[[type[_T]], type[_T]]: ...
class Attribute:
def __init__(