doc: revisions to base.py