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.

Author v+python
Recipients monkeyman79, paul.j3, r.david.murray, rhettinger, v+python
Date 2021-01-28.00:34:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm a little confused by the mention of the "key" keyword argument. I suspect that is an internal concept to argparse, possibly passed that way to internal methods, but on the add_argument interface, it doesn't exist... instead there is "name or flags" positional arguments, from which, together with the "dest" argument, the "key" keyword argument is derived.  This is described under the explanation for the "dest" parameter.

But in the user documentation, the use of "key" is a surprise (to me, maybe I missed something).

Perhaps using "dest" rather than "key" in this documentation would be better? Or perhaps there is a precedent in the argparse documentation for what to call it?
Date User Action Args
2021-01-28 00:34:17v+pythonsetrecipients: + v+python, rhettinger, r.david.murray, paul.j3, monkeyman79
2021-01-28 00:34:17v+pythonsetmessageid: <>
2021-01-28 00:34:17v+pythonlinkissue43046 messages
2021-01-28 00:34:17v+pythoncreate