summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/events.py
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2016-11-03 22:10:48 (GMT)
committerYury Selivanov <yury@magic.io>2016-11-03 22:10:48 (GMT)
commit91d78f0aae3fe0d8255895296b0d9c4503a2edd8 (patch)
tree60227e008b628ec19519f0c7743d23a6ce379c50 /Lib/asyncio/events.py
parent7229f33ef3094f05f4780fc0814f94550adf0d7a (diff)
parenta6fbcd19ac3e821f53159d06d643de65c70c1050 (diff)
downloadcpython-91d78f0aae3fe0d8255895296b0d9c4503a2edd8.zip
cpython-91d78f0aae3fe0d8255895296b0d9c4503a2edd8.tar.gz
cpython-91d78f0aae3fe0d8255895296b0d9c4503a2edd8.tar.bz2
Merge 3.6 (issue #28600)
Diffstat (limited to 'Lib/asyncio/events.py')
-rw-r--r--Lib/asyncio/events.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py
index 3a33646..b89b4b2 100644
--- a/Lib/asyncio/events.py
+++ b/Lib/asyncio/events.py
@@ -82,7 +82,6 @@ class Handle:
'_source_traceback', '_repr', '__weakref__')
def __init__(self, callback, args, loop):
- assert not isinstance(callback, Handle), 'A Handle is not a callback'
self._loop = loop
self._callback = callback
self._args = args