nested classes

Esmail ebonak at gmail.com
Fri Mar 20 10:06:18 EDT 2009


Hello all,

I am curious why nested classes don't seem to be used much in Python.
I see them as a great way to encapsulate related information, which is
a
good thing.

In my other post "improve this newbie code/nested functions in
Python?"
(I accidentally referred to nested functions rather nested classes -
it was late)
I asked something similar in the context of a specific example where I
think the
use of nested classes makes sense.

But perhaps not?

Esmail



More information about the Python-list mailing list