new empty dictionary
|
__init__(self,
*args,
**kwds)
x.__init__(...) initializes x; see help(type(x)) 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 dict/iterable E and F. |
|
|
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__ ,
__le__ ,
__len__ ,
__lt__ ,
__new__ ,
__sizeof__ ,
get ,
has_key ,
viewitems ,
viewkeys ,
viewvalues
Inherited from object :
__delattr__ ,
__format__ ,
__reduce_ex__ ,
__setattr__ ,
__str__ ,
__subclasshook__
|