mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-13 00:44:18 +00:00
two new snippets for python-mode from Orestis Markou
This commit is contained in:
7
snippets/text-mode/python-mode/class
Normal file
7
snippets/text-mode/python-mode/class
Normal file
@@ -0,0 +1,7 @@
|
||||
#name : class ... :
|
||||
# --
|
||||
class ${1:cname}(${2:object}):
|
||||
"docstring for $1"
|
||||
def __init__(self, ${3:arg}):
|
||||
self.$3 = $3
|
||||
$0
|
||||
Reference in New Issue
Block a user