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

9 lines
195 B
Plaintext

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