diff --git a/examples/appendix/abc.py b/examples/appendix/abc.py index d3c3cac8..38574d13 100644 --- a/examples/appendix/abc.py +++ b/examples/appendix/abc.py @@ -1,7 +1,7 @@ -from abc import ABC, abstractmethod +from abc import ABCMeta, abstractmethod -class AbstractMethodTypeExample(ABC): +class AbstractMethodTypeExample(object, metaclass=ABCMeta): # or (abc.ABC) """Abstract class.""" def method(self):