python snippets update, doc-mode removal