array: one more bad bytes type (#9022)

This commit is contained in:
Jelle Zijlstra
2022-10-28 14:18:19 -07:00
committed by GitHub
parent 49d3393732
commit b8659e69f5

View File

@@ -56,7 +56,7 @@ class array(MutableSequence[_T], Generic[_T]):
def tolist(self) -> list[_T]: ...
def tounicode(self) -> str: ...
if sys.version_info < (3, 9):
def fromstring(self, __buffer: bytes) -> None: ...
def fromstring(self, __buffer: str | ReadableBuffer) -> None: ...
def tostring(self) -> bytes: ...
def __len__(self) -> int: ...