diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2016-08-09 17:05:23 -0500 |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2016-08-09 17:05:23 -0500 |
commit | 91170c628b9d2fb5efc500c897fa3ca3d0319a08 (patch) | |
tree | 9c47a48f687fffaab484749db64ee090dd9181d0 /Doc/howto | |
parent | 2afa36537840abd468e5e3737f05d06bb9c98928 (diff) | |
parent | dc68773a723f91aeffb8cf38cc3852b2a86db21d (diff) | |
download | cpython-91170c628b9d2fb5efc500c897fa3ca3d0319a08.tar.gz |
Closes #27204: Merge with 3.5
Diffstat (limited to 'Doc/howto')
-rw-r--r-- | Doc/howto/argparse.rst | 3 |
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. |