>> #2. Why doesn't dir( obj ) return inherited methods? Thomas> Because inherited methods (and other inherited attributes) Thomas> aren't stored in an instance's __dict__. dir() *could* be smarter and walk up the chain starting at __class__ looking for useful stuff to include. Unfortunately, dir() is written in C so it's harder to modify than it ought to be... Skip
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4