[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/demo/widget/interfaces/intwidget.py Correct description of constraint

Roger Ineichen roger at projekt01.ch
Tue Mar 8 20:45:19 EST 2005


Log message for revision 29419:
  Correct description of constraint

Changed:
  U   Zope3/trunk/src/zope/app/demo/widget/interfaces/intwidget.py

-=-
Modified: Zope3/trunk/src/zope/app/demo/widget/interfaces/intwidget.py
===================================================================
--- Zope3/trunk/src/zope/app/demo/widget/interfaces/intwidget.py	2005-03-09 01:43:58 UTC (rev 29418)
+++ Zope3/trunk/src/zope/app/demo/widget/interfaces/intwidget.py	2005-03-09 01:45:19 UTC (rev 29419)
@@ -50,8 +50,8 @@
 
     constraint = Int(
         title = _(u"constraint"),
-        description=_(u"""zope.schema.Int field with """
-            """constraint = lambda x: x == u'constraint'."""),
+        description=_(u"""zope.schema.Int field with constraint """
+            """lambda x: x == 42."""),
         constraint=lambda x: x == 42)
 
     default = Int(



More information about the Zope3-Checkins mailing list