doc: revisions to core/window/__init__.py