doc: more revisions to core/window/__init__.py