26 Nov
2020
26 Nov
'20
8:51 a.m.
On Thu, Nov 26, 2020 at 04:56:34AM +0000, Mathew M. Noel via Python-ideas wrote:
Why not use list_name[-n%N] whenever you need to use negative indices and raise an index out of bounds exception with negative indices like other programming languages?
If this was Python 0.1 back in 1991, then that would be a good question. But it is 2020 and we have almost 30 years of negative indices counting from the end, and that's not going to change. -- Steve