diff options
Diffstat (limited to 'Lib/asyncio/unix_events.py')
| -rw-r--r-- | Lib/asyncio/unix_events.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/unix_events.py b/Lib/asyncio/unix_events.py index b62dd3896d..d712749ee5 100644 --- a/Lib/asyncio/unix_events.py +++ b/Lib/asyncio/unix_events.py @@ -177,7 +177,7 @@ class _UnixSelectorEventLoop(selector_events.BaseSelectorEventLoop):                                     stdin, stdout, stderr, bufsize,                                     extra=None, **kwargs):          with events.get_child_watcher() as watcher: -            waiter = futures.Future(loop=self) +            waiter = self.create_future()              transp = _UnixSubprocessTransport(self, protocol, args, shell,                                                stdin, stdout, stderr, bufsize,                                                waiter=waiter, extra=extra,  | 
