nested functions

Gregory Petrosyan gregory.petrosyan at gmail.com
Wed Jun 14 23:07:59 CEST 2006


I often make helper functions nested, like this:

def f():
    def helper():
        ...
    ...

is it a good practice or not? What about performance of such
constructs?

--
Regards, Gregory.




More information about the Python-list mailing list