[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/Browser - AttributePublisher.py:1.1.2.8
Jim Fulton
jim@zope.com
Mon, 14 Jan 2002 08:37:22 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/Browser
In directory cvs.zope.org:/tmp/cvs-serv29571
Modified Files:
Tag: Zope-3x-branch
AttributePublisher.py
Log Message:
Added some comments and doc strings referencing the interface.
=== Zope3/lib/python/Zope/Publisher/Browser/AttributePublisher.py 1.1.2.7 => 1.1.2.8 ===
__implements__ = IBrowserPublisher
+ # Implementation methods for interface
+ # Zope.Publisher.Browser.IBrowserPublisher.
+
def browser_traverse(self, request, name):
+ '''See interface IBrowserPublisher'''
if name.endswith('.html'):
return getattr(self, name[:-5])
@@ -21,4 +25,5 @@
return getattr(self, name)
def browser_default(self, request):
+ '''See interface IBrowserPublisher'''
return self, ("index.html",)