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/2011-October/114157.html below:

[Python-Dev] cpython (3.2): adjust braces a bit

[Python-Dev] cpython (3.2): adjust braces a bit [Python-Dev] cpython (3.2): adjust braces a bitEthan Furman ethan at stoneleaf.us
Fri Oct 21 18:50:04 CEST 2011
Tres Seaver wrote:
> On 10/21/2011 12:31 PM, Benjamin Peterson wrote:
>> 2011/10/21 Eric V. Smith :
 >>>
>>> What's the logic for adding some braces, but removing others?
 >>
>> No braces if everything is a one-liner, otherwise braces 
>> everywhere.
> 
> Hmm, PEP 7 doesn't show any example of the one-liner exception.  Given
> that it tends to promote errors, particularly among
> indentation-conditioned Python programmers (adding another statement
> at the same indentation level), why not just have braces everywhere?

+1

~Ethan~
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