[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/form/browser/interfaces.py Removed some incorrect references to wrapping objects. This is no

Jim Fulton jim at zope.com
Tue Jun 15 14:40:15 EDT 2004


Log message for revision 25415:
Removed some incorrect references to wrapping objects. This is no
longer relevent since parentgeddon.



-=-
Modified: Zope3/trunk/src/zope/app/form/browser/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/interfaces.py	2004-06-15 18:02:27 UTC (rev 25414)
+++ Zope3/trunk/src/zope/app/form/browser/interfaces.py	2004-06-15 18:40:07 UTC (rev 25415)
@@ -114,7 +114,7 @@
 
     def createAndAdd(self, data):
         content = <create the content from the data>
-        content = self.add(content) # content wrapped in some context
+        content = self.add(content) 
         <set after-add attributes on content>
     """
 
@@ -136,9 +136,6 @@
         not an IAdding.  In this case, the class that customizes the
         form must take over adding the object.
 
-        The content should be returned wrapped in the context of the
-        object that it was added to.
-
         The default implementation returns self.context.add(content),
         i.e. it delegates to the IAdding view.
         """




More information about the Zope3-Checkins mailing list