[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/folder/ Update doc strings to ReST

Phil Ruggera pruggera at san.rr.com
Sat Jul 24 00:28:52 EDT 2004


Log message for revision 26747:
  Update doc strings to ReST


Changed:
  U   Zope3/trunk/src/zope/app/folder/__init__.py
  U   Zope3/trunk/src/zope/app/folder/filerepresentation.py
  U   Zope3/trunk/src/zope/app/folder/folder.py
  U   Zope3/trunk/src/zope/app/folder/fssync/adapter.py
  U   Zope3/trunk/src/zope/app/folder/interfaces.py


-=-
Modified: Zope3/trunk/src/zope/app/folder/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/folder/__init__.py	2004-07-24 04:15:42 UTC (rev 26746)
+++ Zope3/trunk/src/zope/app/folder/__init__.py	2004-07-24 04:28:51 UTC (rev 26747)
@@ -15,4 +15,6 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
+
 from folder import Folder, rootFolder

Modified: Zope3/trunk/src/zope/app/folder/filerepresentation.py
===================================================================
--- Zope3/trunk/src/zope/app/folder/filerepresentation.py	2004-07-24 04:15:42 UTC (rev 26746)
+++ Zope3/trunk/src/zope/app/folder/filerepresentation.py	2004-07-24 04:28:51 UTC (rev 26747)
@@ -15,6 +15,7 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
 
 from zope.app.site.interfaces import ISite
 

Modified: Zope3/trunk/src/zope/app/folder/folder.py
===================================================================
--- Zope3/trunk/src/zope/app/folder/folder.py	2004-07-24 04:15:42 UTC (rev 26746)
+++ Zope3/trunk/src/zope/app/folder/folder.py	2004-07-24 04:28:51 UTC (rev 26747)
@@ -15,6 +15,8 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
+
 from BTrees.OOBTree import OOBTree
 from interfaces import IFolder, IRootFolder
 from persistent import Persistent
@@ -58,15 +60,15 @@
         """Return the named object, or the value of the default
            argument if given and the named object is not found.
            If no default is given and the object is not found a
-           KeyError is raised.
+           ``KeyError`` is raised.
         """
         return self.data[name]
 
     def get(self, name, default=None):
-        """Return the named object, or the value of the default
+        """Return the named object, or the value of the `default`
            argument if given and the named object is not found.
-           If no default is given and the object is not found a
-           KeyError is raised.
+           If no `default` is given and the object is not found a
+           ``KeyError`` is raised.
         """
         return self.data.get(name, default)
 

Modified: Zope3/trunk/src/zope/app/folder/fssync/adapter.py
===================================================================
--- Zope3/trunk/src/zope/app/folder/fssync/adapter.py	2004-07-24 04:15:42 UTC (rev 26746)
+++ Zope3/trunk/src/zope/app/folder/fssync/adapter.py	2004-07-24 04:28:51 UTC (rev 26747)
@@ -15,6 +15,7 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
 
 from zope.fssync.server.entryadapter import DirectoryAdapter
 from zope.app.site.interfaces import ISite

Modified: Zope3/trunk/src/zope/app/folder/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/folder/interfaces.py	2004-07-24 04:15:42 UTC (rev 26746)
+++ Zope3/trunk/src/zope/app/folder/interfaces.py	2004-07-24 04:28:51 UTC (rev 26747)
@@ -15,6 +15,8 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
+
 from zope.app.container.interfaces import IAdding
 from zope.app.container.interfaces import IContainer, IContentContainer
 from zope.app.traversing.interfaces import IContainmentRoot



More information about the Zope3-Checkins mailing list