|
 |
 |
 |
 |
 |
 |
 |
 |
 |
>>> adict.has_key(key)
|
|
|
Return 1
if key in list of keys, else 0
|
|
|
>>> adict.update(bdict)
|
|
|
Add the
contents of bdict to adict
|
|
|
>>> adict.get(key, default)
|
|
|
If key
in adict return adict[key], else return default
|
|
|
>>>
adict.keys()
|
|
|
>>> adict.values()
|
|
|
>>> adict.items()
|
|
|
Return
list of keys, list of values, or list of items (key-value pairs)
|
|
|