diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-01-16 01:38:24 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-01-16 01:38:24 +0100 |
commit | 4d7a29c5de7019a1fd637ef2e84c009c0e384c8f (patch) | |
tree | ab364e600ed1ac6db4320b27dd680f9086e4e85d /Lib/asyncio/tasks.py | |
parent | 3763f2bc07df5b5cae37a77e72a587d0c400616c (diff) | |
download | cpython-git-4d7a29c5de7019a1fd637ef2e84c009c0e384c8f.tar.gz |
asyncio: Fix a typo in CoroWrapper
__slot__ => __slots__
Diffstat (limited to 'Lib/asyncio/tasks.py')
-rw-r--r-- | Lib/asyncio/tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py index 406bcb9368..36404687a5 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 |