[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/form/browser/itemswidgets.py
Wrapped some long lines.
Jim Fulton
jim at zope.com
Tue Jun 21 06:28:30 EDT 2005
Log message for revision 30872:
Wrapped some long lines.
Changed:
U Zope3/trunk/src/zope/app/form/browser/itemswidgets.py
-=-
Modified: Zope3/trunk/src/zope/app/form/browser/itemswidgets.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/itemswidgets.py 2005-06-21 10:28:28 UTC (rev 30871)
+++ Zope3/trunk/src/zope/app/form/browser/itemswidgets.py 2005-06-21 10:28:30 UTC (rev 30872)
@@ -100,16 +100,19 @@
def __call__(self):
"""Render the widget to HTML."""
raise NotImplementedError(
- "__call__() must be implemented by a subclass; use _getFormValue()")
+ "__call__() must be implemented by a subclass; use _getFormValue()"
+ )
def textForValue(self, term):
"""Extract a string from the `term`.
The `term` must be a vocabulary tokenized term.
- This can be overridden to support more complex `term` objects. The token
- is returned here since it's the only thing known to be a string, or
- str()able."""
+ This can be overridden to support more complex `term`
+ objects. The token is returned here since it's the only thing
+ known to be a string, or str()able.
+
+ """
if ITitledTokenizedTerm.providedBy(term):
return self.translate(term.title)
return term.token
More information about the Zope3-Checkins
mailing list