doc: revisions to modules/inspector.py