On 4/27/2014 12:40 PM, Barry Warsaw wrote: > On Apr 26, 2014, at 12:33 AM, Janzert wrote: > >> 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. > > No, I think it's a typo and should be 4 spaces. I'll fix that. > > -Barry > Given the commits to pep 8 after this, I take it you decided the example really is correct. I'm glad the clarifying sentence got added and comment in the example changed, that should make it clear that the 2 space indent isn't a typo. Janzert
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