[docs] [issue37545] Argparse Tutorial - unreasonable operators
Nathan Oyama
report at bugs.python.org
Wed Jul 10 07:54:30 EDT 2019
New submission from Nathan Oyama <nathan.oyama at berkeley.edu>:
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:".
----------
assignee: docs at python
components: Documentation
messages: 347617
nosy: Culip, docs at python
priority: normal
severity: normal
status: open
title: Argparse Tutorial - unreasonable operators
type: enhancement
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37545>
_______________________________________
More information about the docs
mailing list