diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-07-29 11:37:24 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-07-29 11:37:24 +0200 |
commit | 7cce2766a3cea9ebc2791538030b67f3b88d3895 (patch) | |
tree | cacf3a8a246a49e4af2f5ea622d3cf38f6184b0e | |
parent | 608d747b32686bfdeefae206810f17f72a2c82b5 (diff) | |
download | trollius-7cce2766a3cea9ebc2791538030b67f3b88d3895.tar.gz |
Fix repr(_WaitHandleFuture)
-rw-r--r-- | asyncio/windows_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asyncio/windows_events.py b/asyncio/windows_events.py index a5d9b21..03146ca 100644 --- a/asyncio/windows_events.py +++ b/asyncio/windows_events.py @@ -97,7 +97,7 @@ class _WaitHandleFuture(futures.Future): info = super()._repr_info() info.insert(1, 'handle=%#x' % self._handle) if self._wait_handle: - state = 'pending' if self._poll() else 'completed' + state = 'signaled' if self._poll() else 'waiting' info.insert(1, 'wait_handle=<%s, %#x>' % (state, self._wait_handle)) return info |