Index of the multidict module
-
m
webob.multidict
...
- Gives a multi-value dictionary object (MultiDict) plus several wrappers
-
C
NestedMultiDict
...
- Wraps several MultiDict objects, treating it as one large MultiDict
- f popitem ...
- f pop ...
- f has_key ...
- f __init__ ...
- f view_list ... - Create a dict that is a view on the given list
- f __contains__ ...
- f getall ...
- f from_fieldstorage ... - Create a dict from a cgi.FieldStorage instance
- f add ...
- f itervalues ...
- f dict_of_lists ... - Returns a dictionary where each key is associated with a list of values.
- f __len__ ...
- f __getitem__ ...
- f keys ...
- f update ...
- f __setitem__ ...
- f iteritems ...
- f copy ...
- f iterkeys ...
- f __delitem__ ...
- f __nonzero__ ...
- f setdefault ...
- f items ...
- f clear ...
- f __iter__ ...
- f values ...
- f getone ... - Get one value matching the key, raising a KeyError if multiple values were found.
- f mixed ... - Returns a dictionary where the values are either single values, or a list of values when a key/value appears more than once in this dictionary. This is similar to the kind of dictionary often used to represent the variables in a web request.
-
C
UnicodeMultiDict
...
- A MultiDict wrapper that decodes returned values to unicode on the
fly. Decoding is not applied to assigned values.
- f popitem ...
- f pop ...
- f has_key ...
- f __init__ ...
- f __contains__ ...
- f getall ... - Return a list of all values matching the key (may be an empty list)
- f add ... - Add the key and value, not overwriting any previous value.
- f __len__ ...
- f getone ... - Get one value matching the key, raising a KeyError if multiple values were found.
- f __getitem__ ...
- f keys ...
- f __setitem__ ...
- f iteritems ...
- f copy ...
- f iterkeys ...
- f __delitem__ ...
- f setdefault ...
- f items ...
- f clear ...
- f __iter__ ...
- f values ...
- f mixed ... - Returns a dictionary where the values are either single values, or a list of values when a key/value appears more than once in this dictionary. This is similar to the kind of dictionary often used to represent the variables in a web request.
-
C
NoVars
...
- Represents no variables; used when no variables
are applicable.
- f popitem ...
- f pop ...
- f has_key ...
- f __init__ ...
- f __contains__ ...
- f getall ...
- f __cmp__ ...
- f add ...
- f itervalues ...
- f dict_of_lists ...
- f __len__ ...
- f __getitem__ ...
- f get ...
- f keys ...
- f update ...
- f __setitem__ ...
- f iteritems ...
- f copy ...
- f iterkeys ...
- f __delitem__ ...
- f setdefault ...
- f items ...
- f clear ...
- f __iter__ ...
- f values ...
- f getone ...
- f mixed ...
-
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.
- f popitem ...
- f pop ...
- f has_key ...
- f __init__ ...
- f view_list ... - Create a dict that is a view on the given list
- f __contains__ ...
- f getall ... - Return a list of all values matching the key (may be an empty list)
- f from_fieldstorage ... - Create a dict from a cgi.FieldStorage instance
- f add ... - Add the key and value, not overwriting any previous value.
- f itervalues ...
- f dict_of_lists ... - Returns a dictionary where each key is associated with a list of values.
- f __getitem__ ...
- f update ...
- f __setitem__ ...
- f iteritems ...
- f copy ...
- f iterkeys ...
- f __delitem__ ...
- f setdefault ...
- f items ...
- f clear ...
- f __iter__ ...
- f values ...
- f getone ... - Get one value matching the key, raising a KeyError if multiple values were found.
- f mixed ... - Returns a dictionary where the values are either single values, or a list of values when a key/value appears more than once in this dictionary. This is similar to the kind of dictionary often used to represent the variables in a web request.
-
C
NestedMultiDict
...
- Wraps several MultiDict objects, treating it as one large MultiDict