[Checkins] SVN: zope.httpform/trunk/ fixed misleading doc
Shane Hathaway
shane at hathawaymix.org
Fri Feb 6 02:35:13 EST 2009
Log message for revision 96173:
fixed misleading doc
Changed:
U zope.httpform/trunk/README.txt
U zope.httpform/trunk/src/zope/httpform/parser.py
-=-
Modified: zope.httpform/trunk/README.txt
===================================================================
--- zope.httpform/trunk/README.txt 2009-02-06 07:29:00 UTC (rev 96172)
+++ zope.httpform/trunk/README.txt 2009-02-06 07:35:13 UTC (rev 96173)
@@ -14,11 +14,11 @@
- ``:int`` -- convert to an integer
- ``:float`` -- convert to a float
- ``:long`` -- convert to a long integer
- - ``:string`` -- convert to a string instead of Unicode
+ - ``:string`` -- convert to a string (useful for uploads)
- ``:required`` -- raise ValueError if the field is not provided
- ``:tokens`` -- split the input on whitespace characters
- ``:lines`` -- split multiline input into a list of lines
- - ``:text`` -- convert multiline text to a string instead of Unicode
+ - ``:text`` -- normalize line endings of multiline text
- ``:boolean`` -- true if nonempty, false if empty
- ``:list`` -- make a list even if there is only one value
- ``:tuple`` -- make a tuple
Modified: zope.httpform/trunk/src/zope/httpform/parser.py
===================================================================
--- zope.httpform/trunk/src/zope/httpform/parser.py 2009-02-06 07:29:00 UTC (rev 96172)
+++ zope.httpform/trunk/src/zope/httpform/parser.py 2009-02-06 07:35:13 UTC (rev 96173)
@@ -22,11 +22,11 @@
- ``:int`` -- convert to an integer
- ``:float`` -- convert to a float
- ``:long`` -- convert to a long integer
- - ``:string`` -- convert to a string instead of Unicode
+ - ``:string`` -- convert to a string (useful for uploads)
- ``:required`` -- raise ValueError if the field is not provided
- ``:tokens`` -- split the input on whitespace characters
- ``:lines`` -- split multiline input into a list of lines
- - ``:text`` -- convert multiline text to a string instead of Unicode
+ - ``:text`` -- normalize line endings of multiline text
- ``:boolean`` -- true if nonempty, false if empty
- ``:list`` -- make a list even if there is only one value
- ``:tuple`` -- make a tuple
More information about the Checkins
mailing list