doc: revisions to utils.py