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/2016-April/144231.html below:

[Python-Dev] PEP 8 updated on whether to break before or after a binary update

[Python-Dev] PEP 8 updated on whether to break before or after a binary update [Python-Dev] PEP 8 updated on whether to break before or after a binary updateStephen J. Turnbull stephen at xemacs.org
Sat Apr 16 09:48:47 EDT 2016
Victor Stinner writes:
 > Hum.
 > 
 >         if (width == 0
 >             and height == 0
 >             and color == 'red'
 >             and emphasis == 'strong'
 >             or highlight > 100):
 >             raise ValueError("sorry, you lose")
 > 
 > Please remove one space to vertically align "and" operators with the
 > opening parenthesis:
 > 
 >         if (width == 0
 >            and height == 0
 >            and color == 'red'
 >            and emphasis == 'strong'
 >            or highlight > 100):
 >             raise ValueError("sorry, you lose")

The RightThang[tm] is to remove "if" and replace it with the Japanese
"moshi":

        moshi (width == 0
               and height == 0
               and color == 'red'
               and emphasis == 'strong'
               or highlight > 100):
            raise ValueError("sorry, you lose")

It-works-for-me-ly y'rs,

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