array: mark positional-only args (#3722)

This commit is contained in:
Shantanu
2020-02-05 07:23:06 -08:00
committed by GitHub
parent fb286e1eb2
commit a8b63357ff

View File

@@ -16,27 +16,27 @@ class array(MutableSequence[_T], Generic[_T]):
itemsize: int
def __init__(self, typecode: str,
__initializer: Union[bytes, Iterable[_T]] = ...) -> None: ...
def append(self, x: _T) -> None: ...
def append(self, __v: _T) -> None: ...
def buffer_info(self) -> Tuple[int, int]: ...
def byteswap(self) -> None: ...
def count(self, x: Any) -> int: ...
def extend(self, iterable: Iterable[_T]) -> None: ...
def count(self, __v: Any) -> int: ...
def extend(self, __bb: Iterable[_T]) -> None: ...
if sys.version_info >= (3, 2):
def frombytes(self, s: bytes) -> None: ...
def fromfile(self, f: BinaryIO, n: int) -> None: ...
def fromlist(self, list: List[_T]) -> None: ...
def fromstring(self, s: bytes) -> None: ...
def fromunicode(self, s: str) -> None: ...
def index(self, x: _T) -> int: ... # type: ignore # Overrides Sequence
def insert(self, i: int, x: _T) -> None: ...
def pop(self, i: int = ...) -> _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: ...
def pop(self, __i: int = ...) -> _T: ...
if sys.version_info < (3,):
def read(self, f: BinaryIO, n: int) -> None: ...
def remove(self, x: Any) -> None: ...
def remove(self, __v: Any) -> None: ...
def reverse(self) -> None: ...
if sys.version_info >= (3, 2):
def tobytes(self) -> bytes: ...
def tofile(self, f: BinaryIO) -> None: ...
def tofile(self, __f: BinaryIO) -> None: ...
def tolist(self) -> List[_T]: ...
def tostring(self) -> bytes: ...
def tounicode(self) -> str: ...