A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2005-November/058059.html below:

[Python-Dev] str.dedent

[Python-Dev] str.dedent [Python-Dev] str.dedentRaymond Hettinger raymond.hettinger at verizon.net
Sat Nov 12 21:18:02 CET 2005
> The motivation
> is to be able to write multilined strings easily without damaging the
> visual indentation of the source code

That is somewhat misleading.  We already have that ability.  What is
being proposed is moving existing code to a different namespace.  So the
motivation is really something like:

   I want to write 
       s = s.dedent() 
   because it is too painful to write
       s = textwrap.dedent(s)



Raymond

More information about the Python-Dev mailing list

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