asyncio: Fix a typo in CoroWrapper

__slot__ => __slots__
This commit is contained in:
Victor Stinner 2014-01-16 01:38:24 +01:00
parent 3763f2bc07
commit 4d7a29c5de
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ _DEBUG = False
class CoroWrapper: class CoroWrapper:
"""Wrapper for coroutine in _DEBUG mode.""" """Wrapper for coroutine in _DEBUG mode."""
__slot__ = ['gen', 'func'] __slots__ = ['gen', 'func']
def __init__(self, gen, func): def __init__(self, gen, func):
assert inspect.isgenerator(gen), gen assert inspect.isgenerator(gen), gen