Message 385770 - Python tracker

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Content
I went with Paul's suggestion and added nargs='**' instead of greedy, so at this moment this PR doesn't introduce any changes in any public signatures.

I'm working on 'capture' actions, but I want that to be a separate PR and a separate issue because - first - it may be harder to accept as it is bigger change in both code and documentation and - second - it actually is a separate feature, which could be useful for optional arguments even without nargs='**' implemented.

So, what do you all think about this PR as it now? Docs and tests are updated.