mirror of https://github.com/python/cpython.git
Fix raw_input->input in Popen doc patch.
This commit is contained in:
parent
56f0aa6c89
commit
73bc75bb41
|
@ -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