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

Phil Ruggera pruggera at san.rr.com
Fri Jul 23 18:08:09 EDT 2004


Log message for revision 26736:
  Update doc strings to ReST


Changed:
  U   Zope3/trunk/src/zope/app/event/__init__.py
  U   Zope3/trunk/src/zope/app/event/dispatching.py
  U   Zope3/trunk/src/zope/app/event/interfaces.py
  U   Zope3/trunk/src/zope/app/event/objectevent.py


-=-
Modified: Zope3/trunk/src/zope/app/event/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/event/__init__.py	2004-07-23 22:04:28 UTC (rev 26735)
+++ Zope3/trunk/src/zope/app/event/__init__.py	2004-07-23 22:08:09 UTC (rev 26736)
@@ -15,4 +15,6 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
+
 from dispatching import publish

Modified: Zope3/trunk/src/zope/app/event/dispatching.py
===================================================================
--- Zope3/trunk/src/zope/app/event/dispatching.py	2004-07-23 22:04:28 UTC (rev 26735)
+++ Zope3/trunk/src/zope/app/event/dispatching.py	2004-07-23 22:08:09 UTC (rev 26736)
@@ -14,9 +14,9 @@
 """Implement zope-specific event dispatching, based on subscription adapters
 
 This package instals an event dispatcher that calls event handlers,
-registered as subscription adapters providing None.
+registered as subscription adapters providing ``None``.
 
-So, to subscribe to an event, use a subscription adapter to None:
+So, to subscribe to an event, use a subscription adapter to ``None``:
 
   >>> from zope.app.tests.placelesssetup import setUp, tearDown
   >>> setUp()
@@ -55,6 +55,7 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
 
 from warnings import warn
 from zope.component import subscribers

Modified: Zope3/trunk/src/zope/app/event/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/event/interfaces.py	2004-07-23 22:04:28 UTC (rev 26735)
+++ Zope3/trunk/src/zope/app/event/interfaces.py	2004-07-23 22:08:09 UTC (rev 26736)
@@ -15,6 +15,8 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
+
 from zope.interface import Interface, Attribute
 
 class IObjectEvent(Interface):
@@ -29,7 +31,7 @@
 class IObjectCreatedEvent(IObjectEvent):
     """An object has been created.
 
-    The location will usually be None for this event."""
+    The location will usually be ``None`` for this event."""
 
 class IObjectCopiedEvent(IObjectCreatedEvent):
     """An object has been copied"""

Modified: Zope3/trunk/src/zope/app/event/objectevent.py
===================================================================
--- Zope3/trunk/src/zope/app/event/objectevent.py	2004-07-23 22:04:28 UTC (rev 26735)
+++ Zope3/trunk/src/zope/app/event/objectevent.py	2004-07-23 22:08:09 UTC (rev 26736)
@@ -15,6 +15,8 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
+
 from zope.app.event.interfaces import IObjectEvent, IObjectCreatedEvent
 from zope.app.event.interfaces import IObjectModifiedEvent
 from zope.app.event.interfaces import IObjectCopiedEvent



More information about the Zope3-Checkins mailing list