13 May
2004
13 May
'04
8:13 p.m.
Stefan Bund wrote at 2004-5-12 23:31 +0200:
... Thats at least, how it is documented. Citing from the Zope Developer's Guide (http://zope.org/Documentation/Books/ZDG/current/Acquisition.stx):
You can use the special method aq_inner to access an object wrapped only by containment.
When one knows what "aq_inner" does, one can make some sense of this sentence: "aq_inner" is wrapped only be containment because its "aq_self" is not a wrapper; thus, everything left is "aq_parent". Whatever: I have the feeling, that "aq_inner" has only one use case: in the idiom "aq_inner.aq_parent" gives it the object's container. -- Dieter