30 Oct
2002
30 Oct
'02
7:20 p.m.
Projekt01, Roger Ineichen writes:
Whats the similar to context and container in a python class? Strictly speaking there are no such objects.
But, when you are in a method of your product, you have a "self" and, usually, this is acquisition wrapped (this is not the case in "__init__" and some other special methods). In this case, you have "context" is similar to "self.aq_parent" and "container" is "self.aq_inner.aq_parent". Dieter