Created
November 29, 2018 04:04
-
-
Save peketamin/f30283b3f7675c1d56f417d09e034e76 to your computer and use it in GitHub Desktop.
Python Abstract class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
https://docs.python.org/3/library/abc.html | |
https://qiita.com/kaneshin/items/269bc5f156d86f8a91c4 | |
https://stackoverflow.com/questions/13646245/is-it-possible-to-make-abstract-classes-in-python | |
https://docs.djangoproject.com/en/2.1/topics/db/models/ | |
https://stackoverflow.com/questions/33335005/is-there-any-difference-between-using-abc-vs-abcmeta | |
""" | |
from abc import ABC | |
class MyABC(ABC): | |
pass | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment