New submission from Nathan Oyama <nathan.oy...@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@python
components: Documentation
messages: 347617
nosy: Culip, docs@python
priority: normal
severity: normal
status: open
title: Argparse Tutorial - unreasonable operators
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37545>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to