How Python works: What do you know about support for negative indices?
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Fri Sep 10 06:14:40 EDT 2010
On Thu, 09 Sep 2010 18:37:49 -0700, Raymond Hettinger wrote:
> Hello Folks.
>
> It doesn't seem to be common knowledge when and how a[x] gets translated
> to a[x+len(x)]. So, here's a short info post on how Python supports
> negative indices for sequences.
[...]
> Hope you all found this to be informative,
Thanks Raymond!
--
Steven
More information about the Python-list
mailing list