[Zope3-checkins] CVS: Zope3/src/zope/schema - interfaces.py:1.33
Anthony Baxter
anthony at interlink.com.au
Thu Sep 25 11:24:32 EDT 2003
Update of /cvs-repository/Zope3/src/zope/schema
In directory cvs.zope.org:/tmp/cvs-serv6785
Modified Files:
interfaces.py
Log Message:
pad out incomplete description for min_length and max_length (non-string
sequences can also have lengths)
=== Zope3/src/zope/schema/interfaces.py 1.32 => 1.33 ===
--- Zope3/src/zope/schema/interfaces.py:1.32 Fri Sep 19 02:47:53 2003
+++ Zope3/src/zope/schema/interfaces.py Thu Sep 25 11:24:31 2003
@@ -237,7 +237,8 @@
title=_(u"Minimum length"),
description=_(u"""\
Value after whitespace processing cannot have less than
- min_length characters. If min_length is None, there is
+ min_length characters (if a string type) or elements (if
+ another sequence type). If min_length is None, there is
no minimum.
"""),
required=False,
@@ -248,7 +249,8 @@
title=_(u"Maximum length"),
description=_(u"""\
Value after whitespace processing cannot have greater
- or equal than max_length characters. If max_length is
+ or equal than max_length characters (if a string type) or
+ elements (if another sequence type). If max_length is
None, there is no maximum."""),
required=False,
min=0, # needs to be a positive number
More information about the Zope3-Checkins
mailing list