Skip to content

Commit b8659e6

Browse files
array: one more bad bytes type (#9022)
1 parent 49d3393 commit b8659e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/array.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class array(MutableSequence[_T], Generic[_T]):
5656
def tolist(self) -> list[_T]: ...
5757
def tounicode(self) -> str: ...
5858
if sys.version_info < (3, 9):
59-
def fromstring(self, __buffer: bytes) -> None: ...
59+
def fromstring(self, __buffer: str | ReadableBuffer) -> None: ...
6060
def tostring(self) -> bytes: ...
6161

6262
def __len__(self) -> int: ...

0 commit comments

Comments
 (0)