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,

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to