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 Sworddragon
Recipients Sworddragon
Date 2015-09-08.23:01:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441753315.66.0.921652253193.issue25035@psf.upfronthosting.co.za>
In-reply-to
Content
On making a look at the argparse documentation to figure out if I can get the value of the choices key of a specific argument after argument parsing or if I have to implement it myself I noticed that there is a getter/setter for the default key (ArgumentParser.get_default and ArgumentParser.set_defaults) but not for the other keys. Maybe this could also be implemented for the other keys, probably as a generic function that takes as an extra argument the requested key.
History
Date User Action Args
2015-09-08 23:01:55Sworddragonsetrecipients: + Sworddragon
2015-09-08 23:01:55Sworddragonsetmessageid: <1441753315.66.0.921652253193.issue25035@psf.upfronthosting.co.za>
2015-09-08 23:01:55Sworddragonlinkissue25035 messages
2015-09-08 23:01:55Sworddragoncreate