Update _proxy.py

delete unnecessary code