Re: [Tutor] Fw: what is the difference

2007-12-13 Thread johnf
On Thursday 13 December 2007 03:28:46 pm ALAN GAULD wrote: > 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 >

[Tutor] Fw: what is the difference

2007-12-13 Thread ALAN GAULD
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 alway