Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upWhy does the list of ancestors include the class itself? #12
Comments
This comment has been minimized.
This comment has been minimized.
|
@ishirav No particular reason other than that is the display chosen for Perhaps the labeling should dispel with the word "ancestor" and only use "method resolution order"? (Then I think listing the class itself there would make a little more sense.) |
This comment has been minimized.
This comment has been minimized.
|
OK, I guess I can customize the template to omit the first classname if I prefer. |
ishirav
closed this
Jul 15, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ishirav commentedJul 15, 2014
See for example http://pdoc.burntsushi.net/pdoc#pdoc.Function
The list of ancestors include Function (so Function is an ancestor of itself?)