summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing/connection.py
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2013-01-13 22:52:13 (GMT)
committerRichard Oudkerk <shibturn@gmail.com>2013-01-13 22:52:13 (GMT)
commit0ee84e04da7883623842d67bb1b1706bfacab309 (patch)
tree28c83010d8a878bdbf55cb12856e5c400e52eca2 /Lib/multiprocessing/connection.py
parent9e189f0a28ed99a29915dda839b913109a178111 (diff)
parented9e06cb21c4437aa87bb23c6509d3dd3274d0fc (diff)
downloadcpython-0ee84e04da7883623842d67bb1b1706bfacab309.zip
cpython-0ee84e04da7883623842d67bb1b1706bfacab309.tar.gz
cpython-0ee84e04da7883623842d67bb1b1706bfacab309.tar.bz2
Issue #16955: Fix the poll() method for multiprocessing's socket
connections on Windows.
Diffstat (limited to 'Lib/multiprocessing/connection.py')
-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 dc31f2f..74fc958 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)