my-emacs-d/elpa/yasnippet-20161022.646/snippets/python-mode/parse_args
2016-10-24 08:30:06 +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()