Berker Peksag added the comment:
Thanks for the report. This is a duplicate of issue 23487.
--
nosy: +berker.peksag
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> argparse: add_subparsers 'action' broken
type: crash -> behavior
_
New submission from SpaceOne:
parser.add_subparsers(dest='arguments', action='append')
will raise the following exception:
File "/usr/lib/python2.7/argparse.py", line 1675, in add_subparsers
action = parsers_class(option_strings=[], **kwargs)
TypeError: __init__() got an unexpected keyword