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 bc50109 commit c69d057Copy full SHA for c69d057
Doc/library/argparse.rst
@@ -1922,8 +1922,9 @@ Subcommands
1922
>>> parser = argparse.ArgumentParser(prog='chicken.py')
1923
>>> subparsers = parser.add_subparsers()
1924
>>> fly = subparsers.add_parser('fly', deprecated=True)
1925
- >>> args = parser.parse_args(['fly']) # doctest: +SKIP
+ >>> args = parser.parse_args(['fly'])
1926
chicken.py: warning: command 'fly' is deprecated
1927
+ Namespace()
1928
1929
All other keyword arguments are passed directly to the
1930
:class:`!ArgumentParser` constructor.
0 commit comments