The Python Oracle

Is it possible to make abstract classes in Python?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Breezy Bay

--

Chapters
00:00 Question
00:48 Accepted answer (Score 736)
02:19 Answer 2 (Score 146)
03:16 Answer 3 (Score 29)
04:26 Answer 4 (Score 23)
05:41 Thank you

--

Full question
https://stackoverflow.com/questions/1364...

Accepted answer links:
[abc]: http://docs.python.org/library/abc.html
[abstractmethod]: https://docs.python.org/library/abc.html...
[ABC]: https://docs.python.org/3/library/abc.ht...
[ABCMeta]: https://docs.python.org/library/abc.html...

Answer 2 links:
[PEP 3119]: http://www.python.org/dev/peps/pep-3119/

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #class #inheritance #abstractclass #abstract

#avk47