inline assignments in conditionals
Emile van Sebille
emile at fenx.com
Sat Apr 27 17:22:03 EDT 2002
"jaf"
> Aggh! Of course I meant it the other way around. :^P
> It would have been a nice example too, if I hadn't completely
> stuffed it up. So for the record, "If today is Sunday" is my
> preferred form (i.e. if day == 0), and I should never again
> be allowed to post without proofreading first.
>
No. That'd take a lot of the fun out of it! ;-)
--
Emile van Sebille
emile at fenx.com
---------
More information about the Python-list
mailing list