Why no "=" in if? (was Re: Quick fix to add "+=")
John W. Baxter
jwbaxter at olympus.net
Sat Apr 17 10:18:50 EDT 1999
In article <aahzFAC5up.5op at netcom.com>, aahz at netcom.com (Aahz Maruch) wrote:
> I'm getting really sick of the way I have to use this stupid construct:
>
> x = foo()
> if x:
> ...
>
> instead of
>
> if x = foo():
> ...
>
> Why doesn't Guido get off his duff and fix this?????????!
Because it's not broken.
--John
--
If nothing is pressing, putter about with this or that.
(Fortune cookie)
John W. Baxter Port Ludlow, WA USA jwb at olympus.net
More information about the Python-list
mailing list