[issue27991] In the argparse howto there is a misleading sentence about store_true

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Good catch, thanks! -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.5 ___ Python tracker

[issue27991] In the argparse howto there is a misleading sentence about store_true

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0e45cd7859ec by Berker Peksag in branch '3.5': Issue #27991: Remove incorrect sentence about store_true https://hg.python.org/cpython/rev/0e45cd7859ec New changeset 9a75fa28bd0a by Berker Peksag in branch 'default': Issue #27991: Merge from 3.5

[issue27991] In the argparse howto there is a misleading sentence about store_true

2016-09-06 Thread py.user
New submission from py.user: https://docs.python.org/3/howto/argparse.html#combining-positional-and-optional-arguments "And, just like the “store_true” action, if you don’t specify the -v flag, that flag is considered to have None value." This sentence is misleading. It supposes that