[Tutor] Fw: what is the difference

ALAN GAULD alan.gauld at btinternet.com
Fri Dec 14 00:28:46 CET 2007


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.









More information about the Tutor mailing list