Extend from this class to get the capability to maintain related
sums . Have a tuple in your class like the following: sums=((amount ,credit ,credit_total ),
(amount ,debit ,debit_total ))
and the credit_total member of the credit member of self will
always be incremented when the amount member of self is
incremented, similiarly for the debit versions.
Methods
|
|
reallySet
|
|
reallySet
|
reallySet (
self,
k,
v,
)
This method does the work.
|
|