diff --git a/python-mode/super b/python-mode/super index d9e9c34..23fba5d 100644 --- a/python-mode/super +++ b/python-mode/super @@ -3,4 +3,5 @@ # key: super # group: object oriented # -- -super(${1:Class}, self).${2:function}(${3:args}) \ No newline at end of file +super(`(replace-regexp-in-string "\\([.]\\)[^.]+$" ", self)." (python-info-current-defun) nil nil 1)`($1) +$0 \ No newline at end of file