Python: How can I subclass a class I'm nesting in?
- by singpolyma
I am trying to do the following in a bit of python code:
class Parent:
class Child(Parent):
pass
And it does not work. Is there any python syntax I can use to achieve the same result?
Thanks.