diff --git a/stdlib/types.pyi b/stdlib/types.pyi index a40b6280f..6928032f9 100644 --- a/stdlib/types.pyi +++ b/stdlib/types.pyi @@ -68,6 +68,9 @@ _V_co = TypeVar("_V_co", covariant=True) @final class _Cell: + if sys.version_info >= (3, 8): + def __init__(self, __contents: object = ...) -> None: ... + __hash__: ClassVar[None] # type: ignore[assignment] cell_contents: Any