[Zope-Checkins] CVS: Zope2 - ComputedAttribute.c:1.3

Jim Fulton jim@korak.digicool.com
Sat, 16 Oct 1999 10:30:32 -0400

Update of /cvs-repository/Zope2/lib/Components/ExtensionClass
In directory korak.digicool.com:/tmp/cvs-serv15085

Modified Files:
Log Message:
Added second "level" argument for computed attributes.
This makes it easier to create computed attributes that
work with acquisition.  Normally, computed attributes are
called with unwrapped objects. Passing a level of 1, causes 
computed attributes to be called with one level of wrapping.
Note that the innermost (single) level of wrapping typically
reflects a containment context with any extra access contexts
stripped off.