Skip to content

Commit

Permalink
Add placeholder to args of parent class __init__ method
Browse files Browse the repository at this point in the history
Signed-off-by: Gustavo Gurgel <gukgurgel@gmail.com>
  • Loading branch information
gustavogurgel committed Jan 1, 2021
1 parent 7a62e9a commit 9c9b37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/python-mode/sclass
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ class ${1:SubClassName}(${2:ParentClass}):

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

0 comments on commit 9c9b37a

Please sign in to comment.