adapt to neovim's new python support