new empty dictionary
|
__init__(self,
*args,
**kwds)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(k, v), remove and return some (key, value) pair as a
|
|
|
|
|
list of D's keys
|
|
D.get(k,d), also set D[k]=d if k not in D
|
|
None
|
update(self,
other=None,
**kwargs)
Update D from E and F: for k in E: D[k] = E[k]... |
|
|
v, remove specified key and return the corresponding value
|
pop(self,
key,
*args)
If key is not found, d is returned if given, otherwise KeyError is raised |
|
|
list of D's values
|
|
list of D's (key, value) pairs, as 2-tuples
|
|
an iterator over the keys of D
|
|
an iterator over the values of D
|
|
an iterator over the (key, value) items of D
|
|
|
|
|
a shallow copy of D
|
|
|
|
|
|
|
|
|
Inherited from dict:
__cmp__,
__contains__,
__ge__,
__getattribute__,
__getitem__,
__gt__,
__hash__,
__le__,
__len__,
__lt__,
__new__,
get,
has_key
Inherited from object:
__delattr__,
__reduce_ex__,
__setattr__,
__str__
|