From 9c9b37a8b93a23d1dc2776f9de3a5bd34b7aeadd Mon Sep 17 00:00:00 2001 From: Gustavo Gurgel Date: Fri, 1 Jan 2021 04:05:58 -0300 Subject: [PATCH] Add placeholder to args of parent class __init__ method Signed-off-by: Gustavo Gurgel --- snippets/python-mode/sclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/python-mode/sclass b/snippets/python-mode/sclass index 02284965..02eccadd 100644 --- a/snippets/python-mode/sclass +++ b/snippets/python-mode/sclass @@ -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