dickinsm at gmail.com
Wed Feb 10 09:42:05 CET 2010
On Feb 10, 8:31 am, Mark Dickinson <dicki... at gmail.com> wrote:
> And here's how it's used in the decimal.Context module:
Aargh! decimal.Context *class*, not module.
And it occurs to me that it would have been cleaner to have
Decimal.__add__ call Context.add rather than the other way around.
Then Decimal.__add__ could have stayed a two-argument function, as
<deity of your choice> intended. Oh well.
More information about the Python-list