mirror of https://github.com/python/cpython
asyncio: Fix error message in BaseEventLoop.subprocess_shell(). Patch written
by Vajrasky Kok.
This commit is contained in:
parent
dcd9740ad2
commit
323748e1d1
|
@ -557,7 +557,7 @@ class BaseEventLoop(events.AbstractEventLoop):
|
|||
if universal_newlines:
|
||||
raise ValueError("universal_newlines must be False")
|
||||
if not shell:
|
||||
raise ValueError("shell must be False")
|
||||
raise ValueError("shell must be True")
|
||||
if bufsize != 0:
|
||||
raise ValueError("bufsize must be 0")
|
||||
protocol = protocol_factory()
|
||||
|
|
Loading…
Reference in New Issue