summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/windows_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-12-19 16:11:10 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-12-19 16:11:10 (GMT)
commit2f65f6678bfc8c31efc286dcf62d5efbf27fffde (patch)
tree5739f28286963a965dba458e62327732eee9042b /Lib/asyncio/windows_events.py
parent123759502eed7bd3e06aab781ec23d7829b918ca (diff)
parent4d825b45a07353d180754642b759ff10eaa204f2 (diff)
downloadcpython-2f65f6678bfc8c31efc286dcf62d5efbf27fffde.zip
cpython-2f65f6678bfc8c31efc286dcf62d5efbf27fffde.tar.gz
cpython-2f65f6678bfc8c31efc286dcf62d5efbf27fffde.tar.bz2
Merge 3.4 (asyncio)
Diffstat (limited to 'Lib/asyncio/windows_events.py')
-rw-r--r--Lib/asyncio/windows_events.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/asyncio/windows_events.py b/Lib/asyncio/windows_events.py
index 0773d06..d7feb1a 100644
--- a/Lib/asyncio/windows_events.py
+++ b/Lib/asyncio/windows_events.py
@@ -427,6 +427,11 @@ class IocpProactor:
return self._register(ov, None, finish_connect_pipe, wait_for_post=True)
def wait_for_handle(self, handle, timeout=None):
+ """Wait for a handle.
+
+ Return a Future object. The result of the future is True if the wait
+ completed, or False if the wait did not complete (on timeout).
+ """
if timeout is None:
ms = _winapi.INFINITE
else: