diff --git a/stdlib/builtins.pyi b/stdlib/builtins.pyi index 9530b5ca7578..7574cdbe5ba2 100644 --- a/stdlib/builtins.pyi +++ b/stdlib/builtins.pyi @@ -834,7 +834,7 @@ _IntegerFormats: TypeAlias = Literal[ ] @final -class memoryview(Sequence[_I]): +class memoryview(Generic[_I]): @property def format(self) -> str: ... @property