[docs] [issue22738] improve sys.argv, 'python -h' documentation
report at bugs.python.org
Mon Oct 27 05:39:46 CET 2014
New submission from Van Ly:
I was looking at sys.argv from the reference guide.
The font mix and change from v.2.7.5 to v.3.5.0a0 for sentence two of sys.argv (library/sys.html#module-sys) has made the second rendering of -c look capital when in fact it isn't.
--quote: from v.3.5.0a0 at library/sys.html#module-sys
If the command was executed using the -c command line option to the interpreter, argv is set to the string '-c'.
--suggest: improve second sentence of sys.argv (v.2.7.5, v.3.5.0a0)
Call the Python interpreter with the option, -c str, and the value of argv is '-c'.
--suggest: improve 'python -h' output
-c str : feed in a string as program (terminates option list)
assignee: docs at python
nosy: docs at python, vy0123
title: improve sys.argv, 'python -h' documentation
versions: Python 2.7, Python 3.5
Python tracker <report at bugs.python.org>
More information about the docs