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
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com