[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/dtmlpage/ Update doc
strings to ReST
Phil Ruggera
pruggera at san.rr.com
Fri Jul 23 17:27:21 EDT 2004
Log message for revision 26731:
Update doc strings to ReST
Changed:
U Zope3/trunk/src/zope/app/dtmlpage/browser.py
U Zope3/trunk/src/zope/app/dtmlpage/dtmlpage.py
U Zope3/trunk/src/zope/app/dtmlpage/fssync/adapter.py
U Zope3/trunk/src/zope/app/dtmlpage/interfaces.py
-=-
Modified: Zope3/trunk/src/zope/app/dtmlpage/browser.py
===================================================================
--- Zope3/trunk/src/zope/app/dtmlpage/browser.py 2004-07-23 21:23:27 UTC (rev 26730)
+++ Zope3/trunk/src/zope/app/dtmlpage/browser.py 2004-07-23 21:27:21 UTC (rev 26731)
@@ -15,6 +15,8 @@
$Id$
"""
+__docformat__ = 'restructuredtext'
+
class DTMLPageEval(object):
def index(self, REQUEST=None, **kw):
Modified: Zope3/trunk/src/zope/app/dtmlpage/dtmlpage.py
===================================================================
--- Zope3/trunk/src/zope/app/dtmlpage/dtmlpage.py 2004-07-23 21:23:27 UTC (rev 26730)
+++ Zope3/trunk/src/zope/app/dtmlpage/dtmlpage.py 2004-07-23 21:27:21 UTC (rev 26731)
@@ -15,6 +15,8 @@
$Id$
"""
+__docformat__ = 'restructuredtext'
+
from persistent import Persistent
from zope.security.proxy import ProxyFactory
@@ -35,16 +37,16 @@
self.setSource(source)
def getSource(self):
- '''See interface IDTMLPage'''
+ '''See interface `IDTMLPage`'''
return self.template.read()
def setSource(self, text, content_type='text/html'):
- '''See interface IDTMLPage'''
+ '''See interface `IDTMLPage`'''
self.template = HTML(text)
self.content_type = content_type
def render(self, request, *args, **kw):
- """See interface IDTMLRenderPage"""
+ """See interface `IDTMLRenderPage`"""
instance = ProxyFactory(self.__parent__)
request = ProxyFactory(request)
Modified: Zope3/trunk/src/zope/app/dtmlpage/fssync/adapter.py
===================================================================
--- Zope3/trunk/src/zope/app/dtmlpage/fssync/adapter.py 2004-07-23 21:23:27 UTC (rev 26730)
+++ Zope3/trunk/src/zope/app/dtmlpage/fssync/adapter.py 2004-07-23 21:27:21 UTC (rev 26731)
@@ -15,6 +15,7 @@
$Id$
"""
+__docformat__ = 'restructuredtext'
from zope.interface import implements
from zope.fssync.server.entryadapter import ObjectEntryAdapter
Modified: Zope3/trunk/src/zope/app/dtmlpage/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/dtmlpage/interfaces.py 2004-07-23 21:23:27 UTC (rev 26730)
+++ Zope3/trunk/src/zope/app/dtmlpage/interfaces.py 2004-07-23 21:27:21 UTC (rev 26731)
@@ -15,6 +15,8 @@
$Id$
"""
+__docformat__ = 'restructuredtext'
+
import zope.schema
from zope.interface import Interface, Attribute
from zope.app.i18n import ZopeMessageIDFactory as _
@@ -41,8 +43,8 @@
def render(request, *args, **kw):
"""Render the page template.
- The first argument is bound to the top-level 'request'
- variable. The positional arguments are bound to the 'args'
- variable and the keyword arguments are bound to the 'options'
+ The first argument is bound to the top-level `request`
+ variable. The positional arguments are bound to the `args`
+ variable and the keyword arguments are bound to the `kw`
variable.
"""
More information about the Zope3-Checkins
mailing list