mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-19 23:09:55 +08:00
Always use TypeAlias when assigning to Any (#8021)
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
from .base import *
|
||||
from .sequence import Sequence as Sequence
|
||||
|
||||
@@ -9,5 +7,5 @@ class MetaStrict(type):
|
||||
class MetaSerialisable(type):
|
||||
def __new__(cls, clsname, bases, methods): ...
|
||||
|
||||
Strict: Any
|
||||
_Serialiasable = Any
|
||||
class Strict(metaclass=MetaStrict): ...
|
||||
class _Serialiasable(metaclass=MetaSerialisable): ...
|
||||
|
||||
Reference in New Issue
Block a user