Slice objects. How to apply them to strings?

Dale Strickland-Clark dale at riverhall.NOTHANKS.co.uk
Sat Mar 30 08:28:39 EST 2002


bokr at oz.net (Bengt Richter) wrote:
>
>Why not subclass str? Here is a toy:

This will need to run on machines with Python 2.1 but it may be that I
can't get it right with 2.1. I haven't investigated yet but I'm hoping
this will be much easier with 2.2.


--
Dale Strickland-Clark
Riverhall Systems Ltd



More information about the Python-list mailing list