[EMAIL PROTECTED] wrote:

> Is there some magic I'm missing here? Wouldn't it actually be better for 
> Python to treat 0 as a 
> special case here, so that x[-2:0] and x[-2:] generated the same result?

No, since x[-2:0:-1] already has meaning and it isn't what you want.


-- 
Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/
  San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
   The mind is not a vessel to be filled but a fire to be kindled.
    -- Plutarch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to