Trees | Index | Help |
---|
Package Bio :: Package EUtils :: Module MultiDict :: Class _BaseMultiDict |
|
OrderedMultiDict
,
UnorderedMultiDict
Method Summary | |
---|---|
check if the key exists | |
value for a given key | |
iterate through the list of unique keys | |
the number of unique keys | |
shows contents as if this is a dictionary | |
value for the given key; default = None if not present | |
Get all values for a given key | |
unordered list of key/value pairs | |
unordered list of unique keys | |
unordered list of values |
Method Details |
---|
__contains__(self,
key)
check if the key exists
|
__getitem__(self,
key)
|
__iter__(self)iterate through the list of unique keys |
__len__(self)
the number of unique keys
|
__str__(self)
|
get(self, key, default=None)value for the given key; default = None if not present If more than one value exists for the key, use the one added most recently. |
getall(self, key)Get all values for a given key Multiple values are returned in input order. If the key does not exists, returns an empty list. |
items(self)unordered list of key/value pairs If more than one value exists for a given key, use the value added most recently. |
keys(self)unordered list of unique keys |
values(self)unordered list of values If more than one value exists for a given key, use the value added most recently. |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sat Jul 16 15:49:00 2005 | http://epydoc.sf.net |