summaryrefslogtreecommitdiffstats
path: root/.emacs.d/snippets/python-mode/import_from
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-08-13 22:20:08 +0200
committerGravatar Tom Willemse2013-08-13 22:20:08 +0200
commitaaa9e1a953d8db0e974db9b09b2fe0b19751e3d9 (patch)
treee6c880a904ad0bdd2a697b4e4bea669ee0aa1499 /.emacs.d/snippets/python-mode/import_from
downloademacs-aaa9e1a953d8db0e974db9b09b2fe0b19751e3d9.tar.gz
emacs-aaa9e1a953d8db0e974db9b09b2fe0b19751e3d9.zip
Initial commit of my Emacs configuration in vcsh
Diffstat (limited to '.emacs.d/snippets/python-mode/import_from')
-rw-r--r--.emacs.d/snippets/python-mode/import_from6
1 files changed, 6 insertions, 0 deletions
diff --git a/.emacs.d/snippets/python-mode/import_from b/.emacs.d/snippets/python-mode/import_from
new file mode 100644
index 0000000..d9cc4e2
--- /dev/null
+++ b/.emacs.d/snippets/python-mode/import_from
@@ -0,0 +1,6 @@
+# -*- coding: utf-8 -*-
+# name: from ... import ...
+# contributor: Tom Willemse
+# key: from
+# --
+from ${1:module} import ${2:class_or_module}