On Feb 10, 8:31 am, Mark Dickinson <dicki...@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.

--
Mark
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to