diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2009-09-13 08:13:21 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2009-09-13 08:13:21 (GMT) |
commit | 713e042152c3e554157293180f1407aea7446ae9 (patch) | |
tree | 39d8fe21e6d60787c61dfc28c85394d0a6428e58 /Doc/library/subprocess.rst | |
parent | f388053649111e08ac213c0073cc60f02790351a (diff) | |
download | cpython-713e042152c3e554157293180f1407aea7446ae9.zip cpython-713e042152c3e554157293180f1407aea7446ae9.tar.gz cpython-713e042152c3e554157293180f1407aea7446ae9.tar.bz2 |
Merged revisions 74764 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r74764 | ezio.melotti | 2009-09-13 10:54:02 +0300 (Sun, 13 Sep 2009) | 1 line
fixed more examples that were using u"", print without () and unicode/str instead of str/bytes
........
Diffstat (limited to 'Doc/library/subprocess.rst')
-rw-r--r-- | Doc/library/subprocess.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 2af5489..4c4a56a 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -510,13 +510,13 @@ Return code handling translates as follows:: ... rc = pipe.close() if rc != None and rc % 256: - print "There were some errors" + print("There were some errors") ==> process = Popen(cmd, 'w', stdin=PIPE) ... process.stdin.close() if process.wait() != 0: - print "There were some errors" + print("There were some errors") Replacing functions from the :mod:`popen2` module |