Steven D'Aprano  <[EMAIL PROTECTED]> wrote:
> "if x" is completely type agnostic. You can pass an object of any type to 
> it, and it will work. (Excluding objects with buggy methods, naturally.)

There are many circumstances where if a parameter is None I'd rather
get an exception than have the code carry on with the 'empty container'
branch (and silently give me a meaningless result).

-M-

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to