[docs] [issue20970] contradictory documentation for prog option of argparse
R. David Murray
report at bugs.python.org
Tue Mar 18 19:01:59 CET 2014
R. David Murray added the comment:
You missed the part where it says "no matter where it is called from". That is, the path is stripped off. The sentence could be changed to emphasize that ("the :ref:`~os.basename` of sys.argv").
The backslash is indeed a bit odd and probably should be changed.
versions: +Python 2.7, Python 3.4, Python 3.5
Python tracker <report at bugs.python.org>
More information about the docs