[Python-ideas] array.array.index() and Sequence ABC
Niki Spahiev
niki.spahiev at gmail.com
Mon Nov 6 04:17:59 EST 2017
More information about the Python-ideas mailing list
Mon Nov 6 04:17:59 EST 2017
- Previous message (by thread): [Python-ideas] Looking for input to help with the pip situation
- Next message (by thread): [Python-ideas] array.array.index() and Sequence ABC
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): [Python-ideas] Looking for input to help with the pip situation
- Next message (by thread): [Python-ideas] array.array.index() and Sequence ABC
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list