mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
array: one more bad bytes type (#9022)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user