summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-08-04 19:37:24 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-08-04 19:37:24 (GMT)
commit996083d6e65a96304a3d7ff61420f99883d3137e (patch)
tree5d83443f4a8206673cb4292b9a7c0263a74c2f73 /Lib/asyncio
parent2fee5c9367556301a3cfba3202cb71808d01bc81 (diff)
downloadcpython-996083d6e65a96304a3d7ff61420f99883d3137e.zip
cpython-996083d6e65a96304a3d7ff61420f99883d3137e.tar.gz
cpython-996083d6e65a96304a3d7ff61420f99883d3137e.tar.bz2
asyncio: Sync with mainstream
Diffstat (limited to 'Lib/asyncio')
-rw-r--r--Lib/asyncio/base_events.py2
1 files changed, 1 insertions, 1 deletions
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