function dict.clear
dict.clear: clear a dictionary
D.clear() removes all the entries of dictionary D and returns None.
It fails if the dictionary is frozen or if there are active iterators.
function dict.get
dict.get: return an element from the dictionary.
D.get(key[, default]) returns the dictionary value corresponding to
the given key. If the dictionary contains no such value, get
returns None, or the value of the optional default parameter if
present.
get fails if key is unhashable.
function dict.items
dict.items: get list of (key, value) pairs.
D.items() returns a new list of key/value pairs, one per element in
dictionary D, in the same order as they would be returned by a for
loop.
function dict.keys
dict.keys: get the list of keys of the dictionary.
D.keys() returns a new list containing the keys of dictionary D, in
the same order as they would be returned by a for loop.
function dict.pop
dict.pop: return an element and remove it from a dictionary.
D.pop(key[, default]) returns the value corresponding to the specified
key, and removes it from the dictionary. If the dictionary contains no
such value, and the optional default parameter is present, pop
returns that value; otherwise, it fails.
pop fails if key is unhashable, or the dictionary is frozen or has
active iterators.
function dict.popitem
dict.popitem: returns and removes the first key/value pair of a dictionary.
D.popitem() returns the first key/value pair, removing it from the
dictionary.
popitem fails if the dictionary is empty, frozen, or has active
iterators.
function dict.setdefault
dict.setdefault: get a value from a dictionary, setting it to a new value if not present.
D.setdefault(key[, default]) returns the dictionary value
corresponding to the given key. If the dictionary contains no such
value, setdefault, like get, returns None or the value of the
optional default parameter if present; setdefault additionally
inserts the new key/value entry into the dictionary.
setdefault fails if the key is unhashable or if the dictionary is
frozen.
function dict.update
dict.update: update values in the dictionary.
D.update([pairs][, name=value[, ...]) makes a sequence of key/value
insertions into dictionary D, then returns None.
If the positional argument pairs is present, it must be
another dict, or some other iterable.
If it is another dict, then its key/value pairs are inserted into D.
If it is an iterable, it must provide a sequence of pairs (or other
iterables of length 2), each of which is treated as a key/value pair
to be inserted into D.
For each name=value argument present, the name is converted to a
string and used as the key for an insertion into D, with its
corresponding value being value.
update fails if the dictionary is frozen.
function dict.values
dict.values: get the list of values of the dictionary.
D.values() returns a new list containing the dictionary’s values, in
the same order as they would be returned by a for loop over the
dictionary.

