Terry Carroll wrote:
On Thu, 13 Dec 2007, Alan Gauld wrote:
>> > if self._inFlush:
>> >       return
>> > self._inFlush = True
>> > ....
>> >
>> > 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, are you teasing the newbies?

No just not reading closely enough. 
You are quite right, I've no idea why they would behave differently!

John, care to elaborate on what is different?

> Or am I just misreading this somehow?

Nope, I was.

Alan G.







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

Reply via email to