"johnf" <[EMAIL PROTECTED]> wrote

> if self._inFlush:
>       return
> self._inFlush = True
> ....
>
> AND
>
> if not self._inFlush:
>      ...
>     self._inFlush = True
> else:
>     return
>
> I can not see the difference but the second one acts differently in 
> my code.

The first has no else clause so the second assignment always happens.

Alan G. 


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to