[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/ Typos.

Marius Gedminas marius at pov.lt
Wed Jun 30 14:56:03 EDT 2004


Log message for revision 26006:
Typos.




-=-
Modified: Zope3/trunk/src/zope/app/container/browser/adding.py
===================================================================
--- Zope3/trunk/src/zope/app/container/browser/adding.py	2004-06-29 22:57:16 UTC (rev 26005)
+++ Zope3/trunk/src/zope/app/container/browser/adding.py	2004-06-30 18:56:03 UTC (rev 26006)
@@ -54,7 +54,7 @@
         checkObject(container, name, content)
 
         if IContainerNamesContainer.providedBy(container):
-            # The container pick's it's own names.
+            # The container picks its own names.
             # We need to ask it to pick one.
             name = chooser.chooseName(self.contentName or '', content)
         else:
@@ -79,14 +79,14 @@
                 + '/@@contents.html')
 
     # set in BrowserView.__init__
-    request = None 
+    request = None
     context = None
 
     def renderAddButton(self):
         warn("The renderAddButton method is deprecated, use nameAllowed",
             DeprecationWarning, 2)
-    
 
+
     def publishTraverse(self, request, name):
         """See zope.app.container.interfaces.IAdding"""
         if '=' in name:
@@ -120,7 +120,7 @@
             type_name = type_name[2:]
 
         if '/' in type_name:
-            view_name  = type_name.split('/', 1)[0]
+            view_name = type_name.split('/', 1)[0]
         else:
             view_name = type_name
 
@@ -161,8 +161,8 @@
     def nameAllowed(self):
         """Return whether names can be input by the user."""
         return not IContainerNamesContainer.providedBy(self.context)
-    
 
+
 class Adding(BasicAdding):
 
     menu_id = None

Modified: Zope3/trunk/src/zope/app/container/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/container/interfaces.py	2004-06-29 22:57:16 UTC (rev 26005)
+++ Zope3/trunk/src/zope/app/container/interfaces.py	2004-06-30 18:56:03 UTC (rev 26006)
@@ -101,7 +101,7 @@
         """
 
     def __delitem__(name):
-        """Delete the nameed object from the container.
+        """Delete the named object from the container.
 
         Raises a KeyError if the object is not found.
 

Modified: Zope3/trunk/src/zope/app/schema/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/schema/interfaces.py	2004-06-29 22:57:16 UTC (rev 26005)
+++ Zope3/trunk/src/zope/app/schema/interfaces.py	2004-06-30 18:56:03 UTC (rev 26006)
@@ -80,7 +80,7 @@
         """
 
     def __delitem__(name):
-        """Delete the nameed object from the container.
+        """Delete the named object from the container.
 
         Raises a KeyError if the object is not found.
         """



More information about the Zope3-Checkins mailing list