[Zope3-checkins] SVN: Zope3/trunk/src/ Minor spelling and gramar

Shane Hathaway shane at zope.com
Wed Nov 17 18:06:56 EST 2004


Log message for revision 28470:
  Minor spelling and gramar

Changed:
  U   Zope3/trunk/src/ZODB/serialize.py
  U   Zope3/trunk/src/zope/publisher/interfaces/http.py

-=-
Modified: Zope3/trunk/src/ZODB/serialize.py
===================================================================
--- Zope3/trunk/src/ZODB/serialize.py	2004-11-17 16:38:54 UTC (rev 28469)
+++ Zope3/trunk/src/ZODB/serialize.py	2004-11-17 23:06:56 UTC (rev 28470)
@@ -220,9 +220,9 @@
         if not (oid is None or isinstance(oid, str)):
             # Deserves a closer look:
 
-            # Make sure it's not a descr
+            # Make sure it's not a descriptor
             if hasattr(oid, '__get__'):
-                # The oid is a decriptor.  That means obj is a non-persistent
+                # The oid is a descriptor.  That means obj is a non-persistent
                 # class whose instances are persistent, so ...
                 # Not persistent, pickle normally
                 return None

Modified: Zope3/trunk/src/zope/publisher/interfaces/http.py
===================================================================
--- Zope3/trunk/src/zope/publisher/interfaces/http.py	2004-11-17 16:38:54 UTC (rev 28469)
+++ Zope3/trunk/src/zope/publisher/interfaces/http.py	2004-11-17 23:06:56 UTC (rev 28470)
@@ -159,14 +159,13 @@
     URL = Attribute(
         """Request URL data
 
-        When convered to a string, this gives the effective published URL.
+        When converted to a string, this gives the effective published URL.
 
-        This is object can also be used as a mapping object. The keys
-        must be integers or strings that can be converted to
-        integers. A non-negative integer returns a URL n steps from
-        the URL of the top-level application objects. A negative
-        integer gives a URL that is -n steps back from the effective
-        URL.
+        This object can also be used as a mapping object. The key must
+        be an integer or a string that can be converted to an
+        integer. A non-negative integer returns a URL n steps from the
+        URL of the top-level application objects. A negative integer
+        gives a URL that is -n steps back from the effective URL.
 
         For example, 'request.URL[-2]' is equivalent to the Zope 2
         'request["URL2"]'. The notion is that this would be used in



More information about the Zope3-Checkins mailing list