mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Fix minor error in example.
This commit is contained in:
parent
f50299c378
commit
cd77dd6321
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue