mirror of https://github.com/python/cpython
Issue #20633: Replace relative import by absolute import.
This commit is contained in:
parent
56d3a03f70
commit
3e952d56ea
|
@ -132,7 +132,7 @@ if sys.platform != 'win32':
|
|||
def wait(self, timeout=None):
|
||||
if self.returncode is None:
|
||||
if timeout is not None:
|
||||
from .connection import wait
|
||||
from multiprocessing.connection import wait
|
||||
if not wait([self.sentinel], timeout):
|
||||
return None
|
||||
# This shouldn't block if wait() returned successfully.
|
||||
|
|
Loading…
Reference in New Issue