Hacker News new | ask | show | jobs
by Patrick_Devine 4661 days ago
I personally haven't wanted dir() to do this, however I guess I could see the case for an extension to dir such as:

dir(inst, traverseclass=True)

Maybe the author should write a PEP?