Steven Bethard steven.beth...@gmail.com added the comment:
The patch supplied was in reverse, but the bug report was correct. You can't
pass type=string since there's no string callable, only a str callable.
The docstring is confusing because the quotes make it looks like we mean the
string
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset e7f205ce080e by R David Murray in branch '3.2':
#14391: clarify docstring discussion of Action's 'type' argument's value.
http://hg.python.org/cpython/rev/e7f205ce080e
New changeset 3d1ea33611c1 by R David Murray in
R. David Murray rdmur...@bitdance.com added the comment:
I reworded it so that it is clear we are talking about types and not strings.
--
nosy: +r.david.murray
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
type: enhancement - behavior
versions:
Terry J. Reedy tjre...@udel.edu added the comment:
The patch, to an unspecified version of 2.7, changes 'str' to 'string', so I
presume that is what you meant. The current repository code already says
'string' for 2.7, 3.2, and 3.3. This is what you should see in the current
release
New submission from Toshihiro Kamishima m...@kamishima.net:
Keywords to specify as string type are incorrect.
'string' should be 'str'
--
components: Library (Lib)
files: argparse.py.patch
keywords: patch
messages: 156635
nosy: shima__shima
priority: normal
severity: normal
status: open