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
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
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
Changes by Julien Baley :
Removed file: http://bugs.python.org/file40676/store_true_false_doc.patch
___
Python tracker
<http://bugs.python.org/issue25314>
___
___
Pytho
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
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