Possible improvement to slice opperations.

Bengt Richter bokr at oz.net
Wed Sep 7 02:14:41 EDT 2005


On Tue, 06 Sep 2005 18:34:13 +0200, Magnus Lycka <lycka at carmen.se> wrote:
[...]
>
>Then you need to view it more in the mathematical way of
>half-open (or half-closed if you prefer) intervals.
>
>[a,b) = { x | a <= x < b }
>
Funny, I just posted with the same thought (and some additional considerations)
I hadn't read yours yet, or I would have mentioned it ;-)

Regards,
Bengt Richter



More information about the Python-list mailing list