Is it possible to leave a parent class unspecified until an instance is created?
e.g. something like this:
class SomeParentClass:
# something
class Child(unspecifiedParentClass):
# something
instance = Child(SomeParentClass)
This obviously does not work. But is it possible to do this somehow?
Have you tried something like this?
In Python 2.x, also be sure to include
objectas the parent class's superclass, to use new-style classes.