Skip to content

Instantly share code, notes, and snippets.

@PlugaruT
Created September 12, 2018 07:58
Show Gist options
  • Save PlugaruT/bab70b2b957b941f9df2846dbbaa46e8 to your computer and use it in GitHub Desktop.
Save PlugaruT/bab70b2b957b941f9df2846dbbaa46e8 to your computer and use it in GitHub Desktop.
# Assume that class Bar inherits from AFoo
>>> Bar()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: Can't instantiate abstract class Bar with abstract methods my_abstract_method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment