doc: revisions to ext/__init__.py