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

Phil Ruggera pruggera at san.rr.com
Fri Jul 16 17:10:53 EDT 2004


Log message for revision 26599:
  Update doc strings to ReST


Changed:
  U   Zope3/trunk/src/zope/app/broken/broken.py


-=-
Modified: Zope3/trunk/src/zope/app/broken/broken.py
===================================================================
--- Zope3/trunk/src/zope/app/broken/broken.py	2004-07-16 21:08:52 UTC (rev 26598)
+++ Zope3/trunk/src/zope/app/broken/broken.py	2004-07-16 21:10:53 UTC (rev 26599)
@@ -15,8 +15,8 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
 
-
 import ZODB.broken
 import zope.interface
 import zope.app.location.interfaces
@@ -81,7 +81,7 @@
       >>> installBroken(DatabaseOpened(db))
     
     If someone tries to load an object for which there is no class,
-    then they will get a Broken object. We can simulate that by
+    then they will get a `Broken` object. We can simulate that by
     calling the database's class factory directly with a connection
     (None will do for our purposes, since the class factory function
     we register ignores the connection argument), a non-existent
@@ -89,7 +89,7 @@
 
       >>> cls = db.classFactory(None, 'ZODB.not.there', 'atall')
 
-    The class that comes back is a subclass of Broken::
+    The class that comes back is a subclass of `Broken`::
 
       >>> issubclass(cls, Broken)
       True
@@ -102,7 +102,7 @@
       True
 
     and it has a security checker that is the same as the checker that
-    Broken has::
+    `Broken` has::
 
       >>> (cls.__Security_checker__ is
       ...     zope.security.checker.getCheckerForInstancesOf(Broken))



More information about the Zope3-Checkins mailing list