summaryrefslogtreecommitdiffstats
path: root/.emacs.d/snippets/python-mode/import_from
diff options
context:
space:
mode:
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..5c23b8e
--- /dev/null
+++ b/.emacs.d/snippets/python-mode/import_from
@@ -0,0 +1,6 @@
+# -*- coding: utf-8 -*-
+# name: from ... import ...
+# contributor: Tom Willemsen
+# key: from
+# --
+from ${1:module} import ${2:class_or_module} \ No newline at end of file