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 r.david.murray
Recipients A. Skrobov, docs@python, r.david.murray
Date 2015-10-02.15:15:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443798915.31.0.393790807771.issue25299@psf.upfronthosting.co.za>
In-reply-to
Content
To clarify this for other readers: the issue here is that the arguments to add_argument are passed through the action routine, which in this case is store_const, and store_const is the one that requires 'const' be specified...which isn't made clear by either the docs or the error message.
History
Date User Action Args
2015-10-02 15:15:15r.david.murraysetrecipients: + r.david.murray, docs@python, A. Skrobov
2015-10-02 15:15:15r.david.murraysetmessageid: <1443798915.31.0.393790807771.issue25299@psf.upfronthosting.co.za>
2015-10-02 15:15:15r.david.murraylinkissue25299 messages
2015-10-02 15:15:15r.david.murraycreate