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

[Python-Dev] Triple-quoted strings and indentation

[Python-Dev] Triple-quoted strings and indentation [Python-Dev] Triple-quoted strings and indentationGuido van Rossum gvanrossum at gmail.com
Wed Jul 6 17:13:50 CEST 2005
On 7/5/05, Andrew Durdin <adurdin at gmail.com> wrote:
> I have written a patch that changes the way triple-quoted strings are
> scanned so that leading whitespace is ignored in much the same way
> that pep 257 handles it for docstrings. Largely this was for a
> learning experience in hacking the parser, but it would be very nice
> IMO if something of this sort could be implemented in a future version
> of Python.

I don't think so. It smells too much of DWIM, which is very unpythonic. EIBTI.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
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