Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
305 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # name: class(parent): ...
  3. # key: class
  4. # group: Definitions
  5. # --
  6. class ${1:ClassName}(${2:object}):
  7. """${3:Documentation for $1}
  8. """
  9. def __init__(self${4:, args}):
  10. super($1, self).__init__($5)
  11. ${4:$(elpy-snippet-init-assignments yas-text)}
  12. $0