Dictionary with a cached sum
Methods
|
|
|
|
__calc_sum__
|
__calc_sum__ ( self )
|
|
__delitem__
|
__delitem__ ( self, a )
|
|
__init__
|
__init__ ( self, data=None )
|
|
__repr__
|
__repr__ ( self )
|
|
__setitem__
|
__setitem__ (
self,
a,
b,
)
|
|
clear
|
clear ( self )
|
|
cmp_prob_val
|
cmp_prob_val (
self,
a,
b,
)
|
|
get
|
get (
self,
key,
failobj=0,
)
|
|
renorm_to
|
renorm_to ( self, sum )
renorm all items to given argument
|
|
setdefault
|
setdefault (
self,
key,
failobj=0,
)
|
|
update
|
update ( self, dict )
|
|