my-emacs-d/elpa/yasnippet-20160924.2001/snippets/python-mode/setdef
2016-10-20 10:27:10 +02:00

5 lines
110 B
Plaintext

# -*- mode: snippet -*-
# name: setdef
# key: setdef
# --
${1:var}.setdefault(${2:key}, []).append(${3:value})