Robert Kern:
>I only expect functions to be defined inside of functions if they are going to 
>use lexical scoping for some reason.<

There are other reasons to nest functions. One of them is to represent
logical nesting of some functionality.
So you will find some exceptions to your self-created rule :-)

Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to