On inner classes

Gonçalo Rodrigues op73418 at mail.telepac.pt
Mon Feb 25 20:29:03 CET 2002


Suppose we have something like

class <name>:
    class <name>:
        <whatever>
    <whatever>

that is, a class defined inside another. How can the inner class acess
the methods/attributes of the outer one?

Thanks for the help,
Gonçalo Rodrigues



More information about the Python-list mailing list