doc: revisions to lib/__init__.py