Improve python-mode try and from snippets.