[Zope-Checkins] CVS: Zope3/lib/python/Zope/ContextWrapper - IWrapper.py:1.1.2.2

Fred Drake Jr fdrake@acm.org
Fri, 30 Nov 2001 16:56:56 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/ContextWrapper
In directory cvs.zope.org:/tmp/cvs-serv21664

Modified Files:
      Tag: Zope-3x-branch
	IWrapper.py 
Log Message:
One more function to describe in the module.

=== Zope3/lib/python/Zope/ContextWrapper/IWrapper.py 1.1.2.1 => 1.1.2.2 ===
         Return the wrapped object. If obj is not a wrapper object, return obj.
         """
+    def getbaseobject(obj):
+        """
+        Return the innermost wrapped object.  If obj is not a wrapper,
+        return obj.
+        """
     def getinnerwrapper(obj):
         """
         Return the innermost wrapper in a chain of wrappers with obj at the