[Tutor] what is the difference
Alan Gauld
alan.gauld at btinternet.com
Thu Dec 13 23:37:05 CET 2007
"Tiger12506" <keridee at jayco.net> wrote
>>> 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.
>
> No it doesn't. The return statement does not allow the second
> assignment to
> occur in the first example. The second assignment only occurs if NOT
> (self._inFlush==True), as in the second example.
Quite right, see my other reply to Terry...
mea culpa,
Alan G.
More information about the Tutor
mailing list