my-emacs-d/elpa/yasnippet-20161022.646/snippets/python-mode/parse_args

9 lines
195 B
Plaintext
Raw Normal View History

# -*- mode: snippet -*-
# name: parse_args
# key: pargs
# group: argparser
# --
def parse_arguments():
parser = argparse.ArgumentParser(description='$1')
$0
return parser.parse_args()