Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae60825 commit 00039eeCopy full SHA for 00039ee
1 file changed
stdlib/array.pyi
@@ -33,7 +33,10 @@ class array(MutableSequence[_T], Generic[_T]):
33
def fromfile(self, __f: BinaryIO, __n: int) -> None: ...
34
def fromlist(self, __list: List[_T]) -> None: ...
35
def fromunicode(self, __ustr: str) -> None: ...
36
- def index(self, __v: _T) -> int: ... # type: ignore # Overrides Sequence
+ if sys.version_info >= (3, 10):
37
+ def index(self, __v: _T, __start: int = ..., __stop: int = ...) -> int: ...
38
+ else:
39
+ def index(self, __v: _T) -> int: ... # type: ignore # Overrides Sequence
40
def insert(self, __i: int, __v: _T) -> None: ...
41
def pop(self, __i: int = ...) -> _T: ...
42
if sys.version_info < (3,):
0 commit comments