Skip to content

Commit 9c9b37a

Browse files
committed
Add placeholder to args of parent class __init__ method
Signed-off-by: Gustavo Gurgel <gukgurgel@gmail.com>
1 parent 7a62e9a commit 9c9b37a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/python-mode/sclass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ class ${1:SubClassName}(${2:ParentClass}):
88

99
"""
1010
def __init__(self${4:, args}):
11-
super().__init__($5)
11+
super().__init__(${5:args_parent})
1212
${4:$(elpy-snippet-init-assignments yas-text)}
1313
$0

0 commit comments

Comments
 (0)