diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2009-09-13 07:54:02 (GMT) |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2009-09-13 07:54:02 (GMT) |
| commit | 985e24dcf7368894f945c360c383059a21b1ba0b (patch) | |
| tree | 4736769c0e526b53c8a98c3dfd213e5bf9c89bb1 /Doc/library/subprocess.rst | |
| parent | b5845056da831ee3bad9400d5fe9dcd88f9ae534 (diff) | |
| download | cpython-985e24dcf7368894f945c360c383059a21b1ba0b.zip cpython-985e24dcf7368894f945c360c383059a21b1ba0b.tar.gz cpython-985e24dcf7368894f945c360c383059a21b1ba0b.tar.bz2 | |
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 |
