[issue40568] Modify -c command-line option to accept multiple inputs
Batuhan Taskaya
report at bugs.python.org
Fri May 8 15:16:46 EDT 2020
Batuhan Taskaya <isidentical at gmail.com> added the comment:
@rhettinger can you clarify how does this arguments act on argv? Should they be hidden like the first argument, or should they remain visible as a passing argument?
$ python -c 'import sys;print(sys.argv)'
['-c']
$ python -c 'import sys;print(sys.argv)' 'print("another")' 'print("another1")'
['-c', 'print("another")', 'print("another1")']
----------
nosy: +BTaskaya
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40568>
_______________________________________
More information about the Python-bugs-list
mailing list