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