Closed evanberkowitz closed 10 months ago
These are not the same!
NotImplemented is a sentinel singleton designed to be returned in unimplemented comparators to indicate the opposite comparison should be tried. Importantly it is not callable! It doesn't raise an exception!
NotImplementedError is the exception.
These are not the same!
NotImplemented is a sentinel singleton designed to be returned in unimplemented comparators to indicate the opposite comparison should be tried. Importantly it is not callable! It doesn't raise an exception!
NotImplementedError is the exception.