Summary
Summarize the concept explored in this chapter regarding abstract base classes and operator overloading in Python.
We'll cover the following...
We'll cover the following...
Recall
Here are some of the key points in this chapter:
- Using abstract base class definitions is a way to create class definitions with placeholders. This is a handy technique, and can be somewhat clearer than using
raise NotImplementedError
in unimplemented methods. - ABCs and type hints provide ways to create class definitions. An
ABC
is a type hint that can help to