[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/Browser - IBrowserPublisher.py:1.1.2.4
Chris McDonough
chrism@zope.com
Fri, 30 Nov 2001 15:15:45 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/Browser
In directory cvs.zope.org:/tmp/cvs-serv30800
Modified Files:
Tag: Zope-3x-branch
IBrowserPublisher.py
Log Message:
change browser_default interface to be in line with reality... it now always returns a sequence.
=== Zope3/lib/python/Zope/Publisher/Browser/IBrowserPublisher.py 1.1.2.3 => 1.1.2.4 ===
The default object is expressed as a (possibly different)
- object and/or additional traversal steps. There are two
- possible return patterns:
+ object and/or additional traversal steps.
- - Return a string. This is an additional name to be traversed
- to.
-
- - Reurn an object and a sequence of names. If the sequence of
- names is not empty, then a traversal step is made for each name.
+ Returns an object and a sequence of names. If the sequence of
+ names is not empty, then a traversal step is made for each name.
'browser_default' will be called once for a request.
- Note that if additional traversal steps are indicated, then
- the publisher will try to adjust the base href.
+ Note that if additional traversal steps are indicated (via a
+ nonempty sequence of names), then the publisher will try to adjust
+ the base href.
"""