summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/python-mode
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/snippets/python-mode')
-rw-r--r--.emacs.d/snippets/python-mode/format6
-rw-r--r--.emacs.d/snippets/python-mode/printf2
2 files changed, 1 insertions, 7 deletions
diff --git a/.emacs.d/snippets/python-mode/format b/.emacs.d/snippets/python-mode/format
deleted file mode 100644
index 85c2d6f..0000000
--- a/.emacs.d/snippets/python-mode/format
+++ /dev/null
@@ -1,6 +0,0 @@
1# -*- mode: snippet -*-
2# name: format
3# key: sf
4# group: object oriented
5# --
6.format($0) \ No newline at end of file
diff --git a/.emacs.d/snippets/python-mode/printf b/.emacs.d/snippets/python-mode/printf
index 78c67a8..087b2eb 100644
--- a/.emacs.d/snippets/python-mode/printf
+++ b/.emacs.d/snippets/python-mode/printf
@@ -2,4 +2,4 @@
2# name: printf 2# name: printf
3# key: pf 3# key: pf
4# -- 4# --
5print('$0{}'.format()) \ No newline at end of file 5print(f'$0') \ No newline at end of file