[Python-Dev] Where to put wrap_text()?
Neal Norwitz
neal@metaslash.com
Sat, 01 Jun 2002 10:18:31 -0400
Guido van Rossum wrote:
>
> > Proposal: a new standard library module, wrap_text, which combines the
> > best of distutils.fancy_getopt.wrap_text() and Text::Wrap.
>
> I think this is a fine idea. But *please* don't put an underscore in
> the name. I'd say "wrap" or "wraptext" are better than "wrap_text".
Some possibilities are:
* a string method
* a UserString method
* a new module text, with a function wrap()
* add function wrap() to UserString
Should it work on unicode strings too?
Neal