[Tutor] "else:" triggering a Syntax Error
spir
denis.spir at free.fr
Sat Feb 6 13:19:14 CET 2010
On Sat, 6 Feb 2010 20:18:53 +0900
Benno Lang <transmogribenno at gmail.com> wrote:
> > if ((self.start_dot.x > self.end_dot.x) and (self.start_dot.y != self.end_dot.y)):
> (1) Are you sure you want all those superfluous parentheses?
@ Benno: I do not find the _inner_ ones superfluous at all...
@ Stijn: When you ask about an error, please copy-paste the (whole) error message to the list, together with (the relevant part of) the code. I will help us not only "diagnosing" the issue, but also showing you how to interpret python error messages.
Denis
________________________________
la vita e estrany
http://spir.wikidot.com/
More information about the Tutor
mailing list