From: Victor Stinner Date: Thu, 16 Jan 2014 00:38:24 +0000 (+0100) Subject: asyncio: Fix a typo in CoroWrapper X-Git-Tag: v3.4.0b3~136 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d7a29c5de7019a1fd637ef2e84c009c0e384c8f;p=thirdparty%2FPython%2Fcpython.git asyncio: Fix a typo in CoroWrapper __slot__ => __slots__ --- diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py index 406bcb936867..36404687a571 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