On 10/19/05, Chris Withers <[EMAIL PROTECTED]> wrote:
> What's the correct use case for the NotImplemented singleton?

A rich-comparison method should return NotImplemented to indicate that
it doesn't implement the specific comparison; the response should be
for Python to allow the other operand a chance to handle the
comparison (inverted, of course).


Fred L. Drake, Jr.    <fdrake at gmail.com>
"Society attacks early, when the individual is helpless." --B.F. Skinner
Zope3-users mailing list

Reply via email to