negative numbers are not equal...
Fredrik Lundh
fredrik at pythonware.com
Fri Aug 15 13:58:51 EDT 2008
castironpi wrote:
> This case actually misses handleC(). The solution is that the
> function that is returning '-10' cannot return -10, it has to return
> flagC. This can cause difficulties in cases when you're doing
> operations on flags. Worse, if flagC is nested somewhere, say
> moduleA.classB.flagC, you still have to work with that, not its value.
do you *ever* make any sense at all?
</F>
More information about the Python-list
mailing list