We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9812845 commit 66d38b3Copy full SHA for 66d38b3
Doc/library/argparse.rst
@@ -740,7 +740,7 @@ upper-cased name. For example::
740
741
>>> parser = argparse.ArgumentParser(prog='PROG')
742
>>> parser.add_argument('--foo-bar')
743
- >>> parser.parse_args(['--foo-bar', 'FOO-BAR']
+ >>> parser.parse_args(['--foo-bar', 'FOO-BAR'])
744
Namespace(foo_bar='FOO-BAR')
745
>>> parser.print_help()
746
usage: [-h] [--foo-bar FOO-BAR]
0 commit comments