Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign updoc_inherit doesn't work with two levels of sub-classing #20
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to get the doc_inherit recipe (576862) to work with my classes, and the problem is that sometimes I have classes that go 2 levels down from the base class, rather than just one. This leads to an infinite recursion when the middle layer uses doc_inherit for a method.
Here is a minimal case that reproduces my problem:
The output is:
Unfortunately, I don't understand python's
superwell enough to figure out how to fix it. Anyone have an idea how the recipe could be tweaked to allow this use case?Thanks so much for your help.