Questions regarding design decisions in listobject.c
Remco Gerlich
scarblac-spamtrap at pino.selwerd.nl
Mon Jun 5 07:48:41 EDT 2000
Courageous wrote in comp.lang.python:
> Well, yeah, but [0:3] as "element zero through three, inclusive"
> is about as intuitive as you can get.
When I see s[:3], my intuition says it takes 3 elements, not 4...
--
Remco Gerlich, scarblac at pino.selwerd.nl
"This gubblick contains many nonsklarkish English flutzpahs, but the
overall pluggandisp can be glorked from context" (David Moser)
More information about the Python-list
mailing list