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
........
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 @@
...
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