diff --git a/stdlib/dataclasses.pyi b/stdlib/dataclasses.pyi index d69bec7f6..c76b0b0e6 100644 --- a/stdlib/dataclasses.pyi +++ b/stdlib/dataclasses.pyi @@ -353,7 +353,7 @@ def is_dataclass(obj: object) -> TypeIs[DataclassInstance | type[DataclassInstan class FrozenInstanceError(AttributeError): ... -class InitVar(Generic[_T], metaclass=type): +class InitVar(Generic[_T]): type: Type[_T] def __init__(self, type: Type[_T]) -> None: ... @overload