RF: tweak which.py for 2->3
DOCs