summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/tasks.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-01-16 00:38:24 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-01-16 00:38:24 (GMT)
commit4d7a29c5de7019a1fd637ef2e84c009c0e384c8f (patch)
treeab364e600ed1ac6db4320b27dd680f9086e4e85d /Lib/asyncio/tasks.py
parent3763f2bc07df5b5cae37a77e72a587d0c400616c (diff)
downloadcpython-4d7a29c5de7019a1fd637ef2e84c009c0e384c8f.zip
cpython-4d7a29c5de7019a1fd637ef2e84c009c0e384c8f.tar.gz
cpython-4d7a29c5de7019a1fd637ef2e84c009c0e384c8f.tar.bz2
asyncio: Fix a typo in CoroWrapper
__slot__ => __slots__
Diffstat (limited to 'Lib/asyncio/tasks.py')
-rw-r--r--Lib/asyncio/tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py
index 406bcb9..3640468 100644
--- a/Lib/asyncio/tasks.py
+++ b/Lib/asyncio/tasks.py
@@ -34,7 +34,7 @@ _DEBUG = False
class CoroWrapper:
"""Wrapper for coroutine in _DEBUG mode."""
- __slot__ = ['gen', 'func']
+ __slots__ = ['gen', 'func']
def __init__(self, gen, func):
assert inspect.isgenerator(gen), gen