The util module is accessible via the webhelpers module.
HTML-escape a string or object
This converts any non-string objects passed into it to strings (actually, using unicode()). All values returned are non-unicode strings (using &#num; entities for all non-ASCII characters).
None is treated specially, and returns the empty string.
This class contains 2 members.
A MultiDict wrapper that decodes returned values to unicode on the fly. Decoding is not applied to assigned values.
The key/value contents are assumed to be str/strs or str/FieldStorages (as is returned by the paste.request.parse_ functions).
Can optionally also decode keys when the decode_keys argument is True.
FieldStorage instances are cloned, and the clone's filename variable is decoded. Its name variable is decoded when decode_keys is enabled.
This class contains 25 members.
See the source for more information.