Wrap python-mode-map in a hook