diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-08-04 15:35:46 -0400 |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-08-04 15:35:46 -0400 |
commit | 27f3499f968e8734fef91677eb339b5d32a6f675 (patch) | |
tree | c04aed5ea3a6772cb50620f0e62c53e1736f25c9 | |
parent | 51a3206600ff4c18f5368d0389157f6720126a4e (diff) | |
download | trollius-git-27f3499f968e8734fef91677eb339b5d32a6f675.tar.gz |
Use '==' operator instead of 'is'
-rw-r--r-- | asyncio/base_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asyncio/base_events.py b/asyncio/base_events.py index 8e4ad4f..c205445 100644 --- a/asyncio/base_events.py +++ b/asyncio/base_events.py @@ -1206,7 +1206,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 |