Inheritance in nested classes

George Sakkis gsakkis at rutgers.edu
Tue Nov 15 18:08:45 CET 2005


"Diez B. Roggisch" <deets at nospam.web.de> wrote:

> But I hope you are aware that nested classes aren't quite the same as
> they are in java, are you?

Actually they are more like java's static inner classes. If you want to
simulate non-static inner classes in python, you may check the recipe
here:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/409366.

George




More information about the Python-list mailing list