[Zope3-checkins] CVS: Zope3/src/zope/app/form - interfaces.py:1.3

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun Apr 11 06:34:49 EDT 2004


Update of /cvs-repository/Zope3/src/zope/app/form
In directory cvs.zope.org:/tmp/cvs-serv4549/src/zope/app/form

Modified Files:
	interfaces.py 
Log Message:


Improve documentation.




=== Zope3/src/zope/app/form/interfaces.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/form/interfaces.py:1.2	Sat Mar 13 23:44:49 2004
+++ Zope3/src/zope/app/form/interfaces.py	Sun Apr 11 06:34:48 2004
@@ -30,7 +30,10 @@
     implements(IWidgetInputError)
 
     def __init__(self, field_name, widget_title, errors):
-        ''' errors is a ValidationError '''
+        """Initialize Error
+
+        'errors' is a ValidationError or a list of ValidationError objects
+        """
         UserError.__init__(self, field_name, widget_title, errors)
         self.field_name = field_name
         self.widget_title = widget_title




More information about the Zope3-Checkins mailing list