summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2013-01-13 22:46:48 (GMT)
committerRichard Oudkerk <shibturn@gmail.com>2013-01-13 22:46:48 (GMT)
commited9e06cb21c4437aa87bb23c6509d3dd3274d0fc (patch)
treef9883ce2f4a7dd0e937b5a7c2160cb57e9d185ac /Lib/multiprocessing
parentf1b045f41740b1e25ecb5fc4f75003fac59c118a (diff)
downloadcpython-ed9e06cb21c4437aa87bb23c6509d3dd3274d0fc.zip
cpython-ed9e06cb21c4437aa87bb23c6509d3dd3274d0fc.tar.gz
cpython-ed9e06cb21c4437aa87bb23c6509d3dd3274d0fc.tar.bz2
Issue #16955: Fix the poll() method for multiprocessing's socket
connections on Windows.
Diffstat (limited to 'Lib/multiprocessing')
-rw-r--r--Lib/multiprocessing/connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/multiprocessing/connection.py b/Lib/multiprocessing/connection.py
index 2ae8a81..25b0326 100644
--- a/Lib/multiprocessing/connection.py
+++ b/Lib/multiprocessing/connection.py
@@ -405,7 +405,7 @@ class Connection(_ConnectionBase):
return self._recv(size)
def _poll(self, timeout):
- r = wait([self._handle], timeout)
+ r = wait([self], timeout)
return bool(r)