dotfiles/.emacs.d/snippets/python-mode/setdef

5 lines
110 B
Plaintext
Raw Normal View History

2017-12-21 17:29:29 +01:00
# -*- mode: snippet -*-
# name: setdef
# key: setdef
# --
${1:var}.setdefault(${2:key}, []).append(${3:value})