Created
February 10, 2013 16:04
-
-
Save zzzeek/4750029 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from argparse import ArgumentParser | |
parser = ArgumentParser(prog='test') | |
subparsers = parser.add_subparsers() | |
subparser = subparsers.add_parser("foo", help="run foo") | |
parser.parse_args() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found the commit that broke it (using git bisect, because hg bisect was being unhelpful):
which corresponds to changeset: 70741:cab204a79e09
http://hg.python.org/cpython/rev/cab204a79e09