[docs] [issue14391] misc TYPO in argparse.Action docstring
report at bugs.python.org
Sat Jul 21 22:13:23 CEST 2012
Steven Bethard <steven.bethard at 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 'str', when we actually mean the callable 'str'. Maybe they should be `str` or ``str``? Not sure what the syntax for code, not string literals, is for docstrings.
Anyway, this should be an easy fix for a doc person.
resolution: out of date ->
status: closed -> open
Python tracker <report at bugs.python.org>
More information about the docs