[Zodb-checkins] CVS: ZODB4/Interface - _InterfaceClass.py:1.12

Jeremy Hylton jeremy@zope.com
Mon, 2 Dec 2002 16:28:18 -0500


Update of /cvs-repository/ZODB4/Interface
In directory cvs.zope.org:/tmp/cvs-serv783

Modified Files:
	_InterfaceClass.py 
Log Message:
Cleanup docstrings.


=== ZODB4/Interface/_InterfaceClass.py 1.11 => 1.12 ===
--- ZODB4/Interface/_InterfaceClass.py:1.11	Mon Nov 18 16:21:48 2002
+++ ZODB4/Interface/_InterfaceClass.py	Mon Dec  2 16:28:17 2002
@@ -25,8 +25,7 @@
 from _Element import Element
 
 class Interface(Element):
-    """Prototype (scarecrow) Interfaces Implementation
-    """
+    """Prototype (scarecrow) Interfaces Implementation."""
 
     # We can't say this yet because we don't have enough
     # infrastructure in place.
@@ -134,8 +133,7 @@
         return iter(self.names(1))
             
     def namesAndDescriptions(self, all=0):
-        """Return the attribute names and descriptions defined by the interface
-        """
+        """Return attribute names and descriptions defined by interface."""
         if not all:
             return self.__attrs.items()
 
@@ -151,8 +149,7 @@
         return r.items()
 
     def getDescriptionFor(self, name):
-        """Return the attribute description for the given name
-        """
+        """Return the attribute description for the given name."""
         r = self.queryDescriptionFor(name)
         if r is not None:
             return r
@@ -165,8 +162,7 @@
         return self.queryDescriptionFor(name) is not None
 
     def queryDescriptionFor(self, name, default=None):
-        """Return the attribute description for the given name
-        """
+        """Return the attribute description for the given name."""
         r = self.__attrs.get(name, self)
         if r is not self:
             return r
@@ -180,8 +176,7 @@
     get = queryDescriptionFor
 
     def deferred(self):
-        """Return a defered class corresponding to the interface
-        """
+        """Return a defered class corresponding to the interface."""
         if hasattr(self, "_deferred"): return self._deferred
 
         klass={}
@@ -195,9 +190,7 @@
         return klass
 
     def _getInterface(self, ob, name):
-        '''
-        Retrieve a named interface.
-        '''
+        """Retrieve a named interface."""
         return None
             
     def __d(self, dict):