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/2014-April/134318.html below:

[Python-Dev] pep8 reasoning

[Python-Dev] pep8 reasoning [Python-Dev] pep8 reasoningJanzert janzert at janzert.com
Sat Apr 26 06:33:52 CEST 2014
On 4/25/2014 5:52 PM, Carl Meyer wrote:
> - we aren't talking about real variance from the spirit or
> recommendations of PEP 8
>

So the one example under discussion is:
foo = long_function_name(
   var_one, var_two,
   var_three, var_four)

and comes from http://legacy.python.org/dev/peps/pep-0008/#indentation

Specifically the third example with a heading of "Optional".

 From my reading of the text, plus all the other examples around it, I 
would have assumed the 2 space indent was simply a typo and should have 
indeed been 4 spaces. If this is really meant to show that indents other 
than 4 spaces are allowed in this situation maybe verbiage to that 
effect could be added.

Janzert

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