Always use TypeAlias when assigning to Any (#8021)

This commit is contained in:
Alex Waygood
2022-06-06 02:16:20 +01:00
committed by GitHub
parent a2ba0c8a00
commit 43a9ab08d7
17 changed files with 65 additions and 45 deletions
@@ -7,7 +7,9 @@ def with_init(attrs: Sequence[AnyStr | Attribute]) -> Callable[..., Any]: ...
def immutable(attrs: Sequence[AnyStr | Attribute]) -> Callable[..., Any]: ...
def strip_leading_underscores(attribute_name: AnyStr) -> AnyStr: ...
NOTHING = Any
class _Nothing: ...
NOTHING: _Nothing
_T = TypeVar("_T")