From 4d7a29c5de7019a1fd637ef2e84c009c0e384c8f Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 16 Jan 2014 01:38:24 +0100 Subject: asyncio: Fix a typo in CoroWrapper __slot__ => __slots__ --- Lib/asyncio/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12