[docs] [issue22738] improve 'python -h' documentation for '-c'

Terry J. Reedy report at bugs.python.org
Sat Nov 1 00:47:49 CET 2014


Terry J. Reedy added the comment:

On Win7, current Firefox, '-c' looks the same (definitely lowercase) for 2.7,8, 3.4.2, and 3.5.0a0,

I agree both that the sys.argv entry should be left as is and that 'interpret' is better than 'feed' or the current verbiage.  I think 'cmd' should be left as is because it is more descriptive than the generic 'str' and because the latter implies to me that cmd must always (as opposed to often) be quoted, which is not true.  The result would be
  -c cmd : interpret cmd as a program (terminates option list)

For 3.5, the current line is repository\Modules\main.c: 55.  If we agree on the above, I am willing to make the patch and push it.

----------
nosy: +terry.reedy
stage:  -> needs patch
versions: +Python 3.4

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


More information about the docs mailing list