multidict

Gives a multi-value dictionary object (MultiDict) plus several wrappers


Classes

C MultiDict(...) ...

An ordered dictionary that can have multiple values for each key. Adds the methods getall, getone, mixed, and add to the normal dictionary interface.

This class contains 28 members.

C UnicodeMultiDict(...) ...

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.

C NestedMultiDict(...) ...

Wraps several MultiDict objects, treating it as one large MultiDict

This class contains 29 members.

C NoVars(...) ...

Represents no variables; used when no variables are applicable.

This is read-only

This class contains 27 members.

See the source for more information.