On inner classes
Gonçalo Rodrigues
op73418 at mail.telepac.pt
Mon Feb 25 14:45:06 EST 2002
On Mon, 25 Feb 2002 19:29:03 +0000, Gonçalo Rodrigues
<op73418 at mail.telepac.pt> wrote:
>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?
>
Let me be a bit more precise: I am thinking mainly of the instance
attributes of the parent instance (but the others also, of course).
>Thanks for the help,
>Gonçalo Rodrigues
More information about the Python-list
mailing list