mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
asyncio: Fix trailing whitespace/code style
This commit is contained in:
parent
481cb70a72
commit
2f15645785
2 changed files with 8 additions and 6 deletions
|
@ -468,9 +468,11 @@ class SubprocessMixin:
|
||||||
'sys.stdout.flush()',
|
'sys.stdout.flush()',
|
||||||
'sys.exit(1)'])
|
'sys.exit(1)'])
|
||||||
|
|
||||||
fut = asyncio.create_subprocess_exec(sys.executable, '-c', code,
|
fut = asyncio.create_subprocess_exec(
|
||||||
|
sys.executable, '-c', code,
|
||||||
stdout=asyncio.subprocess.PIPE,
|
stdout=asyncio.subprocess.PIPE,
|
||||||
loop=self.loop)
|
loop=self.loop)
|
||||||
|
|
||||||
process = yield from fut
|
process = yield from fut
|
||||||
while True:
|
while True:
|
||||||
data = yield from process.stdout.read(65536)
|
data = yield from process.stdout.read(65536)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue