mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-17 13:59:45 +08:00
Always use TypeAlias when assigning to Any (#8021)
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user