summaryrefslogtreecommitdiff
path: root/Doc/howto
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-08-09 17:05:23 -0500
committerZachary Ware <zachary.ware@gmail.com>2016-08-09 17:05:23 -0500
commit91170c628b9d2fb5efc500c897fa3ca3d0319a08 (patch)
tree9c47a48f687fffaab484749db64ee090dd9181d0 /Doc/howto
parent2afa36537840abd468e5e3737f05d06bb9c98928 (diff)
parentdc68773a723f91aeffb8cf38cc3852b2a86db21d (diff)
downloadcpython-91170c628b9d2fb5efc500c897fa3ca3d0319a08.tar.gz
Closes #27204: Merge with 3.5
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/argparse.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/howto/argparse.rst b/Doc/howto/argparse.rst
index cfe9868875..7a60165f42 100644
--- a/Doc/howto/argparse.rst
+++ b/Doc/howto/argparse.rst
@@ -547,7 +547,8 @@ And this is what it gives:
Traceback (most recent call last):
File "prog.py", line 11, in <module>
if args.verbosity >= 2:
- TypeError: unorderable types: NoneType() >= int()
+ TypeError: '>=' not supported between instances of 'NoneType' and 'int'
+
* First output went well, and fixes the bug we had before.
That is, we want any value >= 2 to be as verbose as possible.