Python paradigms
Michael Hudson
mwh21 at cam.ac.uk
Wed Apr 12 14:26:10 EDT 2000
d98aron at dtek.chalmers.se (Fredrik Aronsson) writes:
> In article <000401bfa1dd$930fe500$172d153f at tim>,
> "Tim Peters" <tim_one at email.msn.com> writes:
> > (a() and [b()] or [c()])[0]
> >
>
> Just a litte thougth, can't I just use (a() and b()) or c() ?
Not if b() returns false.
"(1 and 0 or 2)==2"-ly y'rs
M.
--
On the other hand, the following areas are subject to boycott
in reaction to the rampant impurity of design or execution, as
determined after a period of study, in no particular order:
... http://www.naggum.no/profile.html
More information about the Python-list
mailing list