Any other Python flaws?

Aahz Maruch aahz at panix.com
Mon Jun 18 23:38:04 CEST 2001


In article <mailman.992893352.19102.python-list at python.org>,
D-Man  <dsh8290 at rit.edu> wrote:
>
>It seems to, with some cursory tests in the interactive interpreter.
>I would have to look at the source to see _how_ the function
>implicitly returns 'None' to understand why it doesn't behave as
>intended.

Because every function returns None as its last, invisible statement.
You can test that easily enough.
-- 
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

Hugs and backrubs -- I break Rule 6                 http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het Pythonista   

"It's not what you know, it's what you *think* you know."  --Steve Martin



More information about the Python-list mailing list