[Zope3-checkins] CVS: Zope3/src/zope/app - context.py:1.4

Steve Alexander steve@cat-box.net
Mon, 2 Jun 2003 10:49:40 -0400


Update of /cvs-repository/Zope3/src/zope/app
In directory cvs.zope.org:/tmp/cvs-serv18692/src/zope/app

Modified Files:
	context.py 
Log Message:
Corrected minor typos + formatting.


=== Zope3/src/zope/app/context.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/context.py:1.3	Mon Jun  2 07:04:57 2003
+++ Zope3/src/zope/app/context.py	Mon Jun  2 10:49:36 2003
@@ -75,8 +75,6 @@
 
     >>> [interface.__name__ for interface in list(providedBy(D2(D1(x))))]
     ['I4', 'I3', 'I1', 'I2']
-
-    $Id$
     """
 
     def __get__(self, inst, cls):
@@ -89,7 +87,7 @@
             # will return the proxied object's class.
             cls = type(inst) 
             return ObjectSpecification(provided, cls)
-        
+
 
 class Wrapper(BaseWrapper):
     """Zope-specific context wrapper
@@ -104,7 +102,7 @@
 
 
 def ContextWrapper(_ob, _parent, **kw):
-    
+
     if type(_ob) in BasicTypes:
         # Don't wrap basic objects
         return _ob
@@ -115,14 +113,14 @@
             # This would be a redundant wrapper. We'll just use the
             # one we've got.
 
-            # But we want tp make sure we have the same data
+            # But we want to make sure we have the same data.
             if kw:
                 dict = getdictcreate(wrapper)
                 dict.update(kw)
             return _ob
 
     if type(_ob) is Proxy:
-        # insert into proxies
+        # Insert into proxies.
         checker = getChecker(_ob)
         _ob = getProxiedObject(_ob)
         _ob = Proxy(Wrapper(_ob, _parent, **kw), checker)