Steven D'Aprano REMOVETHIScyber.com.au> writes:
>
> On Fri, 30 Dec 2005 03:47:30 +0000, Jon Guyer wrote:
>
> > We have a rather complicated class that, under certain circumstances, knows
> > that it cannot perform various arithmetic operations, and so returns
>
>>> This is a fake line to confuse the stupid top-posting filter at gmane
We have a rather complicated class that, under certain circumstances, knows
that it cannot perform various arithmetic operations, and so returns
NotImplemented. As a trivial example:
>>> class my:
... def __mul