]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 77987 via svnmerge from
authorR. David Murray <rdmurray@bitdance.com>
Fri, 5 Feb 2010 16:26:37 +0000 (16:26 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Fri, 5 Feb 2010 16:26:37 +0000 (16:26 +0000)
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.
........

Doc/library/subprocess.rst

index f475e35d7800565d8b8f22d2d09dc3c72afa54eb..834ec58bf956376e20e9cd141a70220dbae4a848 100644 (file)
@@ -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)