Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 996083d

Browse files
committed
asyncio: Sync with mainstream
1 parent 2fee5c9 commit 996083d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/asyncio/base_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ def _set_coroutine_wrapper(self, enabled):
12051205
return
12061206

12071207
enabled = bool(enabled)
1208-
if self._coroutine_wrapper_set is enabled:
1208+
if self._coroutine_wrapper_set == enabled:
12091209
return
12101210

12111211
wrapper = coroutines.debug_wrapper

0 commit comments

Comments
 (0)