-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
Description
From typing docs:
Type[Any]is equivalent toTypewhich in turn is equivalent totype, which is the root of Python’s metaclass hierarchy.
But this code produces error:
from typing import *
y: type
x: Type[Any] = yerror: Incompatible types in assignment (expression has type "
type", variable has typeType[Any])