object to make sure we keep updated of dict in _doc. We just override
a dict and maintain change in doc reference (doc[keyt] obviously).
if init_vals is specified, doc is overwritten with the dict given.
Otherwise, the values already in doc are used.
new empty dictionary
|
__init__(self,
doc,
item_type=None,
init_vals=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
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 |
source code
|
|
|
D.get(k,d), also set D[k]=d if k not in D
|
|
|
None
|
|
|
(k, v), remove and return some (key, value) pair as a
|
|
|
None
|
|
|
Inherited from dict:
__cmp__,
__contains__,
__eq__,
__ge__,
__getattribute__,
__getitem__,
__gt__,
__iter__,
__le__,
__len__,
__lt__,
__ne__,
__new__,
__repr__,
__sizeof__,
copy,
fromkeys,
get,
has_key,
items,
iteritems,
iterkeys,
itervalues,
keys,
values,
viewitems,
viewkeys,
viewvalues
Inherited from object:
__delattr__,
__format__,
__reduce__,
__reduce_ex__,
__setattr__,
__str__,
__subclasshook__
|