[Python-Dev] PEP 8 updated on whether to break before or after a binary update
Stephen J. Turnbull
stephen at xemacs.org
Sat Apr 16 09:48:47 EDT 2016
More information about the Python-Dev mailing list
Sat Apr 16 09:48:47 EDT 2016
- Previous message (by thread): [Python-Dev] PEP 8 updated on whether to break before or after a binary update
- Next message (by thread): [Python-Dev] PEP 8 updated on whether to break before or after a binary update
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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,
- Previous message (by thread): [Python-Dev] PEP 8 updated on whether to break before or after a binary update
- Next message (by thread): [Python-Dev] PEP 8 updated on whether to break before or after a binary update
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list