How Python works: What do you know about support for negative indices?
aahz at pythoncraft.com
Sat Sep 11 16:42:11 CEST 2010
In article <87vd6d84f7.fsf at benfinney.id.au>,
Ben Finney <ben+python at benfinney.id.au> wrote:
>Ben Finney <ben+python at benfinney.id.au> writes:
>> Raymond Hettinger <python at rcn.com> writes:
>>> 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.
>> Thanks for this. Could you post your messages using a channel that
>> doesn't arbitrarily split your paragraphs into long-short-long-short
>> lines? It makes paragraphs burdensome to read, and I skipped most of
>> the message because of that.
>For those who think the problem may be with the recipient's software, I
>see the same annoying line-wrapping problems in the archived message
Still looks like *your* problem to me; except for exactly one paragraph,
I don't see comb-style formatting in Lynx at that URL.
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
[on old computer technologies and programmers] "Fancy tail fins on a
brand new '59 Cadillac didn't mean throwing out a whole generation of
mechanics who started with model As." --Andrew Dalke
More information about the Python-list