doc: revisions to uix/switch.py