mirror of
https://github.com/python/cpython.git
synced 2025-11-24 12:20:42 +00:00
#5153: fix typo in example.
This commit is contained in:
parent
97a69f0c10
commit
174fbe7742
1 changed files with 1 additions and 1 deletions
|
|
@ -1651,7 +1651,7 @@ arguments::
|
||||||
value.append(arg)
|
value.append(arg)
|
||||||
|
|
||||||
del parser.rargs[:len(value)]
|
del parser.rargs[:len(value)]
|
||||||
setattr(parser.values, option.dest, value))
|
setattr(parser.values, option.dest, value)
|
||||||
|
|
||||||
[...]
|
[...]
|
||||||
parser.add_option("-c", "--callback", dest="vararg_attr",
|
parser.add_option("-c", "--callback", dest="vararg_attr",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue