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

10 lines
107 B
Plaintext

# -*- mode: snippet -*-
# name: ife
# key: ife
# group : control structure
# --
if $1:
$2
else:
$0