werkzeug.ImmutableOrderedMultiDict
¶
-
class
werkzeug.
ImmutableOrderedMultiDict
(mapping=None)[source]¶ An immutable
OrderedMultiDict
.New in version 0.6.
Methods¶
__init__ ([mapping]) |
|
add (key, value) |
|
clear () |
|
copy () |
Return a shallow mutable copy of this object. |
deepcopy ([memo]) |
Return a deep copy of this object. |
fromkeys (keys[, value]) |
|
get (key[, default, type]) |
Return the default value if the requested data doesn’t exist. |
getlist (key[, type]) |
|
has_key ((k) -> True if D has a key k, else False) |
|
items (*a, **kw) |
Like iteritems() , but returns a list. |
iteritems ([multi]) |
|
iterkeys () |
|
iterlists () |
|
iterlistvalues () |
|
itervalues () |
|
keys (*a, **kw) |
Like iterkeys() , but returns a list. |
lists (*a, **kw) |
Like iterlists() , but returns a list. |
listvalues (*a, **kw) |
Like iterlistvalues() , but returns a list. |
pop (key[, default]) |
|
popitem () |
|
popitemlist () |
|
poplist (key) |
|
setdefault (key[, default]) |
|
setlist (key, new_list) |
|
setlistdefault (key[, default_list]) |
|
to_dict ([flat]) |
Return the contents as regular dict. |
update (*args, **kwargs) |
|
values (*a, **kw) |
Like itervalues() , but returns a list. |
viewitems (...) |
|
viewkeys (...) |
|
viewvalues (...) |