Fix incorrect usage of NotImplemented

`NotImplemented` is a constant singleton used in rich comparison
overloading. It is not callable, and is not an exception.
`NotImplementedError` is a built in exception.