Merged revisions 77987 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r77987 | r.david.murray | 2010-02-05 11:25:12 -0500 (Fri, 05 Feb 2010) | 2 lines Fix raw_input->input in Popen doc patch. ........
This commit is contained in:
parent
d503180449
commit
2c4f8d12f0
|
@ -52,7 +52,7 @@ This module defines one class called :class:`Popen`:
|
|||
tokenization for *args*, especially in complex cases::
|
||||
|
||||
>>> import shlex, subprocess
|
||||
>>> command_line = raw_input()
|
||||
>>> command_line = input()
|
||||
/bin/vikings -input eggs.txt -output "spam spam.txt" -cmd "echo '$MONEY'"
|
||||
>>> args = shlex.split(command_line)
|
||||
>>> print(args)
|
||||
|
|
Loading…
Reference in New Issue