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 Julien Baley
Recipients Julien Baley, docs@python
Date 2015-10-04.21:04:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443992693.14.0.504421256983.issue25314@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation of the action `store_const` states that it defaults to None. In turn, the documentation of `store_true` and `store_false` states that "[t]hese are special cases of 'store_const'", suggesting that they would also default to None.

Thankfully, `store_true` defaults to False and `store_false` to True, but this is not documented. That would be useful, as I keep seeing people writing `action='store_true' default=False` and vice-versa.
History
Date User Action Args
2015-10-04 21:04:53Julien Baleysetrecipients: + Julien Baley, docs@python
2015-10-04 21:04:53Julien Baleysetmessageid: <1443992693.14.0.504421256983.issue25314@psf.upfronthosting.co.za>
2015-10-04 21:04:53Julien Baleylinkissue25314 messages
2015-10-04 21:04:53Julien Baleycreate