Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fe1049 commit b0539b2Copy full SHA for b0539b2
1 file changed
Doc/library/asyncio-subprocess.rst
@@ -262,9 +262,7 @@ display the output::
262
stdout = stdout.decode('ascii').rstrip()
263
print("Platform: %s" % stdout)
264
else:
265
- print("Python failed with exit code %s:" % exitcode)
266
- sys.stdout.flush()
267
- sys.stdout.buffer.flush()
+ print("Python failed with exit code %s:" % exitcode, flush=True)
268
sys.stdout.buffer.write(stdout)
269
sys.stdout.buffer.flush()
270
loop.close()
0 commit comments