mirror of
https://github.com/python/cpython.git
synced 2024-12-18 06:14:00 +08:00
Fix minor error in example.
This commit is contained in:
parent
f50299c378
commit
cd77dd6321
@ -606,7 +606,7 @@ def main():
|
||||
action="store_false", dest="verbose")
|
||||
|
||||
options, args = parser.parse_args()
|
||||
if len(args) != 1:
|
||||
if len(args) != 2:
|
||||
parser.error("incorrect number of arguments")
|
||||
|
||||
if options.verbose:
|
||||
|
Loading…
Reference in New Issue
Block a user