From 996083d6e65a96304a3d7ff61420f99883d3137e Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Tue, 4 Aug 2015 15:37:24 -0400 Subject: asyncio: Sync with mainstream --- Lib/asyncio/base_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index 5a536a2..f6cc88f 100644 --- a/Lib/asyncio/base_events.py +++ b/Lib/asyncio/base_events.py @@ -1205,7 +1205,7 @@ class BaseEventLoop(events.AbstractEventLoop): return enabled = bool(enabled) - if self._coroutine_wrapper_set is enabled: + if self._coroutine_wrapper_set == enabled: return wrapper = coroutines.debug_wrapper -- cgit v0.12