>> Note: Because dir() is supplied primarily as a convenience for
>> use at an interactive prompt [...]
This was always my interpretation of its intent. In fact, I use a
customized dir() for my own needs which would probably break inspect
(elides _-prefixed functions by default, notes modules or
http://docs.python.org/3/library/functions.html#dir:
Note: Because dir() is supplied primarily as a convenience for
use at an interactive prompt [...]
I suspect this comment is out of date, as there are two functions in the inspect module that rely on dir(), which also
means that help indir