[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/interface/ Update
doc strings to ReST
Phil Ruggera
pruggera at san.rr.com
Wed Aug 4 00:34:55 EDT 2004
Log message for revision 26891:
Update doc strings to ReST
Changed:
U Zope3/trunk/src/zope/app/interface/__init__.py
U Zope3/trunk/src/zope/app/interface/interfaces.py
U Zope3/trunk/src/zope/app/interface/tests/test_interface.py
U Zope3/trunk/src/zope/app/interface/vocabulary.py
-=-
Modified: Zope3/trunk/src/zope/app/interface/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/interface/__init__.py 2004-08-04 04:17:33 UTC (rev 26890)
+++ Zope3/trunk/src/zope/app/interface/__init__.py 2004-08-04 04:34:55 UTC (rev 26891)
@@ -17,6 +17,8 @@
$Id$
"""
+__docformat__ = 'restructuredtext'
+
from persistent import Persistent
from persistent.dict import PersistentDict
from zodbcode.patch import registerWrapper, Wrapper
@@ -101,7 +103,7 @@
... implements(I3)
>>> obj3 = C3()
- If Interface doesn't provide IContentType, queryType returns None.
+ If Interface doesn't provide `IContentType`, `queryType` returns ``None``.
>>> c3_ctype = queryType(obj3, IContentType)
>>> c3_ctype
Modified: Zope3/trunk/src/zope/app/interface/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/interface/interfaces.py 2004-08-04 04:17:33 UTC (rev 26890)
+++ Zope3/trunk/src/zope/app/interface/interfaces.py 2004-08-04 04:34:55 UTC (rev 26891)
@@ -15,6 +15,8 @@
$Id$
"""
+__docformat__ = 'restructuredtext'
+
from zope.interface import Interface
class IInterfaceBasedRegistry(Interface):
@@ -23,5 +25,5 @@
def getRegistrationsForInterface(iface):
"""Return registrations related to iface.
- The Return value is iterable of IRegistration object.
+ The Return value is iterable of `IRegistration` object.
"""
Modified: Zope3/trunk/src/zope/app/interface/tests/test_interface.py
===================================================================
--- Zope3/trunk/src/zope/app/interface/tests/test_interface.py 2004-08-04 04:17:33 UTC (rev 26890)
+++ Zope3/trunk/src/zope/app/interface/tests/test_interface.py 2004-08-04 04:34:55 UTC (rev 26891)
@@ -15,6 +15,8 @@
$Id$
"""
+__docformat__ = 'restructuredtext'
+
import unittest
from transaction import get_transaction
Modified: Zope3/trunk/src/zope/app/interface/vocabulary.py
===================================================================
--- Zope3/trunk/src/zope/app/interface/vocabulary.py 2004-08-04 04:17:33 UTC (rev 26890)
+++ Zope3/trunk/src/zope/app/interface/vocabulary.py 2004-08-04 04:34:55 UTC (rev 26891)
@@ -15,6 +15,8 @@
$Id$
"""
+__docformat__ = 'restructuredtext'
+
from zope.interface import providedBy
from zope.security.proxy import trustedRemoveSecurityProxy
from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm
More information about the Zope3-Checkins
mailing list