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/__repr__7
-rw-r--r--.emacs.d/snippets/python-mode/__str__7
-rw-r--r--.emacs.d/snippets/python-mode/function_docstring1
3 files changed, 0 insertions, 15 deletions
diff --git a/.emacs.d/snippets/python-mode/__repr__ b/.emacs.d/snippets/python-mode/__repr__
deleted file mode 100644
index 85cb80f..0000000
--- a/.emacs.d/snippets/python-mode/__repr__
+++ /dev/null
@@ -1,7 +0,0 @@
1# -*- mode: snippet -*-
2# name: __repr__
3# key: _repr
4# group: Special methods
5# --
6def __repr__(self):
7 return $0
diff --git a/.emacs.d/snippets/python-mode/__str__ b/.emacs.d/snippets/python-mode/__str__
deleted file mode 100644
index f623df7..0000000
--- a/.emacs.d/snippets/python-mode/__str__
+++ /dev/null
@@ -1,7 +0,0 @@
1# -*- mode: snippet -*-
2# name: __str__
3# key: _str
4# group: Special methods
5# --
6def __str__(self):
7 return $0
diff --git a/.emacs.d/snippets/python-mode/function_docstring b/.emacs.d/snippets/python-mode/function_docstring
index 685eaf5..1f7f35b 100644
--- a/.emacs.d/snippets/python-mode/function_docstring
+++ b/.emacs.d/snippets/python-mode/function_docstring
@@ -2,7 +2,6 @@
2# name: function_docstring 2# name: function_docstring
3# key: fd 3# key: fd
4# group: definitions 4# group: definitions
5# NOTE: Use minimum indentation, because Emacs 25+ doesn't dedent docstrings.
6# -- 5# --
7def ${1:name}($2): 6def ${1:name}($2):
8 \"\"\"$3 7 \"\"\"$3