]> granicus.if.org Git - python/commitdiff
Fix doc for `add_subparsers` arguments (GH-8884)
authorAnthony Sottile <asottile@umich.edu>
Fri, 24 Aug 2018 03:08:54 +0000 (20:08 -0700)
committerMariatta <Mariatta@users.noreply.github.com>
Fri, 24 Aug 2018 03:08:54 +0000 (20:08 -0700)
There was a missing comma.

Doc/library/argparse.rst

index 260e5cbf7000356d3657653ec634482dde2392f6..1973afc49452632107e76202eb41c60ea8d55506 100644 (file)
@@ -1539,7 +1539,7 @@ Sub-commands
 
 .. method:: ArgumentParser.add_subparsers([title], [description], [prog], \
                                           [parser_class], [action], \
-                                          [option_string], [dest], [required] \
+                                          [option_string], [dest], [required], \
                                           [help], [metavar])
 
    Many programs split up their functionality into a number of sub-commands,