Message384775
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. |
|
| Date |
User |
Action |
Args |
| 2021-01-10 19:51:50 | daniel.nicorici | set | recipients:
+ daniel.nicorici |
| 2021-01-10 19:51:50 | daniel.nicorici | set | messageid: <1610308310.47.0.185082010282.issue42884@roundup.psfhosted.org> |
| 2021-01-10 19:51:50 | daniel.nicorici | link | issue42884 messages |
| 2021-01-10 19:51:50 | daniel.nicorici | create | |
|