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/2012-January/115243.html below:

[Python-Dev] PEP 7 clarification request: braces

[Python-Dev] PEP 7 clarification request: braces [Python-Dev] PEP 7 clarification request: bracesBenjamin Peterson benjamin at python.org
Mon Jan 2 21:31:57 CET 2012
2012/1/1 Nick Coghlan <ncoghlan at gmail.com>:
>
>  if (cond) {
>    statement;
>  } else {
>    statement;
>  }

I might add that assuming you have braces, PEP 7 would want you to format it as

if (cond) {
    statement;
}
else {
    more_stuff;
}


-- 
Regards,
Benjamin
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