[Zope3-checkins] CVS: Zope3/src/zope/app/browser/component - interfacewidget.py:1.8
Steve Alexander
steve@cat-box.net
Tue, 7 Jan 2003 12:22:05 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/component
In directory cvs.zope.org:/tmp/cvs-serv29198/src/zope/app/browser/component
Modified Files:
interfacewidget.py
Log Message:
corrected wrong docstring.
=== Zope3/src/zope/app/browser/component/interfacewidget.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/browser/component/interfacewidget.py:1.7 Tue Jan 7 10:43:48 2003
+++ Zope3/src/zope/app/browser/component/interfacewidget.py Tue Jan 7 12:21:57 2003
@@ -25,7 +25,6 @@
from zope.schema.interfaces import ValidationError
from zope.component.exceptions import ComponentLookupError
-
class InterfaceWidget(Widget, BrowserView):
__implements__ = IBrowserWidget
@@ -323,7 +322,7 @@
def renderInterfaceSelect(
interfaces, selected, search_name, search_string, select_name):
- """all of the args are strings"""
+ """interfaces is a sequence, all of the other args are strings"""
options = ['<option value="">---select interface---</option>']
for interface in interfaces:
if interface == 'None':