[issue25314] Documentation: argparse's actions store_{true, false} default to False/True (undocumented)

2015-10-04 Thread Julien Baley
New submission from Julien Baley: 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

[issue25314] Documentation: argparse's actions store_{true, false} default to False/True (undocumented)

2015-10-04 Thread Julien Baley
Julien Baley added the comment: That's true, store_const has no default and will throw an exception if const is not provided. Updated the patch consequently. -- Added file: http://bugs.python.org/file40677/store_const_true_false_doc.patch ___ P

[issue25314] Documentation: argparse's actions store_{true, false} default to False/True (undocumented)

2015-10-04 Thread Julien Baley
Changes by Julien Baley : Removed file: http://bugs.python.org/file40676/store_true_false_doc.patch ___ Python tracker <http://bugs.python.org/issue25314> ___ ___ Pytho

[issue25314] Documentation: argparse's actions store_{true, false} default to False/True (undocumented)

2016-01-27 Thread Julien Baley
Julien Baley added the comment: This issue has now been open for nearly three months. I think my patch is an improvement over the current documentation. If people want to improve the documentation further, they can probably submit a patch for that. What can I do to get this accepted

[issue25314] Documentation: argparse's actions store_{true, false} default to False/True (undocumented)

2016-01-28 Thread Julien Baley
Julien Baley added the comment: Hi Georg, thanks for your answer. I think maybe you're missing a bit in there? "``'store_true'`` and ``'store_false'`` - These store the values ``True`` and ``False`` respectively (Note that these default to ``False`` and ``True

[issue25314] Documentation: argparse's actions store_{true, false} default to False/True (undocumented)

2016-01-28 Thread Julien Baley
Julien Baley added the comment: I like paul.j3's suggestion, but it would probably make more sense to have it consistent with python2 and port the change Martin pointed to. How does one do that? -- ___ Python tracker <http://bugs.py