Why do operators and methods of built-in types differ

andrew cooke andrew at acooke.org
Sat Jan 31 08:03:13 EST 2009


> Just a correction: according to the doc, NotImplemented is not an
> error, but a returned value.

curious, so it is.  i wonder why there is both a special return value
(NotIMplemented) and a related exception (NotImplementedError).  seems
very odd to have a value...

andrew



More information about the Python-list mailing list