Skip to content

Glossary: Python Beyond the Basics

NotImplemented

A value a special method like `__eq__` returns to tell Python the class can't compare with that kind of object, so `==` gives False instead of an error.

Where the book teaches it

Related terms

__eq__ / __lt__