This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Extra ) in optparse sample
Type: Stage:
Components: Documentation Versions: Python 2.7, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: adamvan, georg.brandl
Priority: normal Keywords:

Created on 2009-02-04 20:17 by adamvan, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg81154 - (view) Author: Adam Vandenberg (adamvan) Date: 2009-02-04 20:17
In the "Callback example 6: variable arguments" section of the optparse
documentation, the example code has an extra ) at the end of the last
line of the function:

setattr(parser.values, option.dest, value))
msg81192 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-02-05 10:31
Thanks, fixed in r69288.
History
Date User Action Args
2022-04-11 14:56:45adminsetgithub: 49403
2009-02-05 10:31:07georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg81192
2009-02-04 20:17:54adamvancreate