summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-02-05 16:25:12 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-02-05 16:25:12 (GMT)
commit73bc75bb41920b70f7c2076c56029aaadc34e274 (patch)
tree9eabe4943c31025c3647b5b817132f126487c223
parent56f0aa6c89fc8ff3a587062c7fba247d0aec504b (diff)
downloadcpython-73bc75bb41920b70f7c2076c56029aaadc34e274.zip
cpython-73bc75bb41920b70f7c2076c56029aaadc34e274.tar.gz
cpython-73bc75bb41920b70f7c2076c56029aaadc34e274.tar.bz2
Fix raw_input->input in Popen doc patch.
-rw-r--r--Doc/library/subprocess.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index 5680b38..e6f91b1 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -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)