mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Merge 3.3.
This commit is contained in:
commit
c346060440
3 changed files with 4 additions and 2 deletions
|
@ -47,7 +47,7 @@ class Popen(object):
|
|||
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…
Add table
Add a link
Reference in a new issue