Aug. 30, 2005
5:15 p.m.
On Tue, 2005-08-30 at 11:27, Phillip J. Eby wrote:
So if partition() [or whatever it'll be called] could have an optional second argument that defines the width of the 'cut' made, I would be helped enormously. The default for this second argument would be len(sep), to preserve the current proposal.
+1 on the concept -- very nice Raymond.
Unrelated comment: maybe 'cut()' and rcut() would be nice short names.
FWIW, +1 on .cut(), +0 on .partition() -Barry