'parent object'?

Thomas Heller theller at python.net
Wed Jun 26 06:57:19 EDT 2002


> Is there, like 'self, also a 'parent' object of some sort?
>
> The problem i'm having is that i have a class, which contains a list of
> instances of another class. How can i let this 'childclass' call a function
> which is on the 'parent class'?
>

You could check out Environmental Acquisition:
http://www.zope.org/Members/acquisition/

Thomas





More information about the Python-list mailing list