Python objects can override __dir__, which is all dir() calls anyway.
It looks like this is all for an autocompletion library. Why not just write jedi.dir (jedir?)
It looks like this is all for an autocompletion library. Why not just write jedi.dir (jedir?)
dir(inst, traverseclass=True)
Maybe the author should write a PEP?