array.array.index() and Sequence ABC

Nov. 6, 2017
9:17 a.m.
Hello, I noticed that array.index() method takes single argument in python 3.6, while Sequence protocol specifies 2 optional arguments after the first. example from list: L.index(value, [start, [stop]]) -> integer -- return first index of value. I propose adding start and stop arguments to array.index() Regards, Niki

November 2017
10:14 a.m.
06.11.17 11:17, Niki Spahiev пише:
Open an issue on the bug tracker and provide a patch. See also: https://bugs.python.org/issue28197 https://bugs.python.org/issue31942

November 2017
10:14 a.m.
06.11.17 11:17, Niki Spahiev пише:
Open an issue on the bug tracker and provide a patch. See also: https://bugs.python.org/issue28197 https://bugs.python.org/issue31942
2690
Age (days ago)
2690
Last active (days ago)
1 comments
2 participants
participants (2)
-
Niki Spahiev
-
Serhiy Storchaka