A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-June/024865.html below:

[Python-Dev] Where to put wrap_text()?

[Python-Dev] Where to put wrap_text()? [Python-Dev] Where to put wrap_text()?Guido van Rossum guido@python.org
Sat, 01 Jun 2002 11:20:01 -0400
> Some possibilities are:
> 
>   * a string method
>   * a UserString method

This should *definitely* not be a method.  Too specialized, too many
possibilities for tweaking the algorithm.

>   * a new module text, with a function wrap()
>   * add function wrap() to UserString
> 
> Should it work on unicode strings too?

Yes.

--Guido van Rossum (home page: http://www.python.org/~guido/)




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4