mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
array: update for py39 (#4180)
This commit is contained in:
@@ -41,7 +41,6 @@ class array(MutableSequence[_T], Generic[_T]):
|
||||
def frombytes(self, __buffer: bytes) -> None: ...
|
||||
def fromfile(self, __f: BinaryIO, __n: int) -> None: ...
|
||||
def fromlist(self, __list: List[_T]) -> None: ...
|
||||
def fromstring(self, __buffer: bytes) -> None: ...
|
||||
def fromunicode(self, __ustr: str) -> None: ...
|
||||
def index(self, __v: _T) -> int: ... # type: ignore # Overrides Sequence
|
||||
def insert(self, __i: int, __v: _T) -> None: ...
|
||||
@@ -54,10 +53,12 @@ class array(MutableSequence[_T], Generic[_T]):
|
||||
def tobytes(self) -> bytes: ...
|
||||
def tofile(self, __f: BinaryIO) -> None: ...
|
||||
def tolist(self) -> List[_T]: ...
|
||||
def tostring(self) -> bytes: ...
|
||||
def tounicode(self) -> str: ...
|
||||
if sys.version_info < (3,):
|
||||
def write(self, f: BinaryIO) -> None: ...
|
||||
if sys.version_info < (3, 9):
|
||||
def fromstring(self, __buffer: bytes) -> None: ...
|
||||
def tostring(self) -> bytes: ...
|
||||
|
||||
def __len__(self) -> int: ...
|
||||
|
||||
|
||||
@@ -3,8 +3,6 @@ _dummy_thread
|
||||
_thread.ExceptHookArgs
|
||||
_thread._ExceptHookArgs
|
||||
_weakref.getweakrefcount
|
||||
array.array.fromstring
|
||||
array.array.tostring
|
||||
ast.Bytes.__new__
|
||||
ast.Ellipsis.__new__
|
||||
ast.ExtSlice.__new__
|
||||
|
||||
Reference in New Issue
Block a user