python-mode/super: autogenerate class/method
Auto-fill class and function name for the super call.
This commit is contained in:
parent
16154e1462
commit
69acbbc297
|
@ -3,4 +3,5 @@
|
|||
# key: super
|
||||
# group: object oriented
|
||||
# --
|
||||
super(${1:Class}, self).${2:function}(${3:args})
|
||||
super(`(replace-regexp-in-string "\\([.]\\)[^.]+$" ", self)." (python-info-current-defun) nil nil 1)`($1)
|
||||
$0
|
Loading…
Reference in New Issue