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-July/027015.html below:

Multiline string constants, include in the standard library?

[Python-Dev] Re: Multiline string constants, include in the standard library? [Python-Dev] Re: Multiline string constants, include in the standard library?Ville Vainio ville.vainio@swisslog.com
Mon, 29 Jul 2002 13:22:54 +0300
M.-A. Lemburg wrote:

> How about starting with a simple textwrap.dedent() API and then
> moving on towards the full monty textwrap.reformat() API with tons of 
> options ?!

Fine with me - at least w/ dedent() everyone can agree with the right 
behaviour (except handling of the first line?), and it would be general 
enough to be useful for everybody (no need for options/customization) - 
hence the justification for a position in the std lib. I haven't had 
much use for intricate wrapping/reformatting yet, but I guess I will 
once it hits the std lib ;-).

-- Ville





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