From `typing` docs: > `Type[Any]` is equivalent to `Type` which in turn is equivalent to `type`, which is the root of Python’s metaclass hierarchy. But this code produces error: ```python from typing import * y: type x: Type[Any] = y ``` > error: Incompatible types in assignment (expression has type "`type`", variable has type `Type[Any])`
Activity
Treat type equivalent to Type[Any] (#2825)