I have nested classes because they are tightly related.
Now i want to have the following type of code
class one(Some-other-type):
...
// More functions here
class two(one):
// Some more functions here.
The Inner class "two" type should be "one" but if i put that i get an error. The other way is to not make it nested like below
class one(Some-other-type):
...
// More functions here
class two(one):
// Some more functions here.
But then i dont want class "two" to be accessible when the module is imported. I dont really care about the functions offered by "one" but it needs to be under it for clarity of code.
Any thoughts?