swap def and df in yasnippets python-mode