Where do nested functions live?
Rob Williscroft
rtw at freenet.co.uk
Wed Nov 1 15:12:07 EST 2006
Frederic Rentsch wrote in news:mailman.1613.1162403556.11739.python-
list at python.org in comp.lang.python:
> Since we have a class that goes out of scope
> when the function returns, and we don't need more than one instance, why
> bother to make an instance? Why not use the class object itself?
Because you hadn't yet pointed this out to me :-).
Thanks
Rob.
--
http://www.victim-prime.dsl.pipex.com/
More information about the Python-list
mailing list