[issue37717] argparse subcommand docs has non-existent parameter "action"

2020-12-19 Thread paul j3
paul j3 added the comment: I'm closing the is as a duplicate of https://bugs.python.org/issue23487, which is already closed. -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker

[issue37717] argparse subcommand docs has non-existent parameter "action"

2019-07-30 Thread paul j3
paul j3 added the comment: As discussed in https://bugs.python.org/issue23487, `action` works if the class is compatible with argparse._SubParsersAction. these commands all do the same thing: parser.add_subparsers() # default parser.add_subparsers(action='parsers')

[issue37717] argparse subcommand docs has non-existent parameter "action"

2019-07-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems related : issue23487 . kwargs is manipulated before passing to parsers_class causing the error message and also the discussion in issue23487 notes this to be a documentation issue over usage of action argument. -- nosy: +xtreak

[issue37717] argparse subcommand docs has non-existent parameter "action"

2019-07-30 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +paul.j3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37717] argparse subcommand docs has non-existent parameter "action"

2019-07-30 Thread retnikt
New submission from retnikt : In the library documentation for argparse, the section for ArgumentParser.add_subparsers ( https://docs.python.org/3/library/argparse.html#sub-commands ) states that there is a parameter for 'action' with the description 'the basic type of action to be taken