mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
asyncio: Fix error message in BaseEventLoop.subprocess_shell(). Patch written
by Vajrasky Kok.
This commit is contained in:
parent
dcd9740ad2
commit
323748e1d1
1 changed files with 1 additions and 1 deletions
|
|
@ -557,7 +557,7 @@ def subprocess_shell(self, protocol_factory, cmd, *, stdin=subprocess.PIPE,
|
|||
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…
Add table
Add a link
Reference in a new issue