[docs] [issue5088] optparse: inconsistent default value for append actions

Raymond Hettinger report at bugs.python.org
Wed Dec 1 06:33:21 CET 2010


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

Note, the :attr:`~Option.dest` variable is a list which includes default
values if any are defined.  Options on the command-line are appended to
this list.  Accordingly, the list may contain both the default value and
the value passed on the command-line.

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5088>
_______________________________________


More information about the docs mailing list