I'm creating a package where I create about ~30 classes that all inherit from a common generic class. Generally, they add or modify methods, but every now and then, the subclass can inherit from the generic and make no modification.
What is the most pythonic way to do this? SubClass = GenericClass works, but it offends my aesthetic sensibilities.
You could probably just..
class Subclass(GenericClass):
'''this is a subclass'''
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With