1 or 1/0 doesn't raise an exception

News123 news123 at free.fr
Sun Dec 14 07:15:28 EST 2008


Hi.

r wrote:
> These are just the kind of things that make Python so beautiful ;)
> Thanks Guido!


You shouldn't forget to thank K&R ;-)
Shortcutting logical operation shortcuts existed already in C and has
been adopted by quite a lot of programming languages.


bye


N



More information about the Python-list mailing list