This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author daniel.nicorici
Recipients daniel.nicorici
Date 2021-01-10.19:51:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610308310.47.0.185082010282.issue42884@roundup.psfhosted.org>
In-reply-to
Content
Add support for array.index(x [,start [,end]]). Adding start and end would allow to loop thru the entire array (and not start all the time from 0).


Currently, is array.index(x) (and it returns the smallest i such that i is the index of the first occurrence of x in the array). 


For example, bytearray.index() has start and end and list.index() has also start and end, but for some reason start and end are missing from array.index.
History
Date User Action Args
2021-01-10 19:51:50daniel.nicoricisetrecipients: + daniel.nicorici
2021-01-10 19:51:50daniel.nicoricisetmessageid: <1610308310.47.0.185082010282.issue42884@roundup.psfhosted.org>
2021-01-10 19:51:50daniel.nicoricilinkissue42884 messages
2021-01-10 19:51:50daniel.nicoricicreate