Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
daizutabi committed Jun 28, 2020
1 parent 2b5150d commit 3a599be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/appendix/abc.py
Original file line number Diff line number Diff line change
@@ -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):
Expand Down

0 comments on commit 3a599be

Please sign in to comment.