Mailing List Archive

[issue5153] Extra ) in optparse sample
New submission from Adam Vandenberg <flangy@gmail.com>:

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))

----------
assignee: georg.brandl
components: Documentation
messages: 81154
nosy: adamvan, georg.brandl
severity: normal
status: open
title: Extra ) in optparse sample
versions: Python 2.6, Python 2.7

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue5153>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue5153] Extra ) in optparse sample [ In reply to ]
Georg Brandl <georg@python.org> added the comment:

Thanks, fixed in r69288.

----------
resolution: -> fixed
status: open -> closed

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue5153>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com