[Zope3-checkins] CVS: Zope3/src/zope/proxy/context - decorators.txt:1.1.2.10
Steve Alexander
steve@cat-box.net
Mon, 19 May 2003 10:02:12 -0400
Update of /cvs-repository/Zope3/src/zope/proxy/context
In directory cvs.zope.org:/tmp/cvs-serv18281
Modified Files:
Tag: stevea-decorators-branch
decorators.txt
Log Message:
Further clarifications.
=== Zope3/src/zope/proxy/context/decorators.txt 1.1.2.9 => 1.1.2.10 ===
--- Zope3/src/zope/proxy/context/decorators.txt:1.1.2.9 Mon May 19 09:52:02 2003
+++ Zope3/src/zope/proxy/context/decorators.txt Mon May 19 10:02:11 2003
@@ -68,7 +68,8 @@
inner The object that a decorator is wrapping
- outer The context wrapper of the decorator
+ outer The context wrapper. (That is to say,
+ the decorator).
Diagram
@@ -101,9 +102,9 @@
[Insert decorator object diagram.]
-When the wrapper is asked for a particular attribute, it does the following:
+When the Decorator is asked for a particular attribute, it does the following:
-* If the attribute's name is in the wrapper's "attrdict" (a dictionary of
+* If the attribute's name is in the decorator's "attrdict" (a dictionary of
attributes) then the value from the attrdict is returned.
* If the name is listed as one that should be decorated, the attribute
@@ -116,7 +117,7 @@
The mixin factory takes two arguments: inner, outer. 'inner' is a reference
-to the inner object. 'outer' is a reference to the decorator wrapper object.
+to the inner object. 'outer' is a reference to the decorator object.
(This is a feature that is important for context decorators, but should be
different for other kinds of decorators. A future task will be to separate