mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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 @@ 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…
Add table
Add a link
Reference in a new issue