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 Culip
Recipients Culip, docs@python
Date 2019-07-10.11:54:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562759670.76.0.736461636286.issue37545@roundup.psfhosted.org>
In-reply-to
Content
In "Python 3.7 Documentation > Python HOWTOs > Argparse Tutorial" (https://docs.python.org/3.7/howto/argparse.html), search this page for

elif args.verbosity >= 1:

The operator ">=" should read "==" because args.verbosity cannot be 2 or greater after the if statement.

You would find the original codes unreasonable until you go through "if args.verbosity >= 1:".
History
Date User Action Args
2019-07-10 11:54:30Culipsetrecipients: + Culip, docs@python
2019-07-10 11:54:30Culipsetmessageid: <1562759670.76.0.736461636286.issue37545@roundup.psfhosted.org>
2019-07-10 11:54:30Culiplinkissue37545 messages
2019-07-10 11:54:30Culipcreate