From e1f554490de1852faa03b5c06f051756aa168bfe Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 16 Jan 2014 11:05:23 -0800 Subject: asyncio: Reincarnate CoroWrapper's docstring as a comment. --- Lib/asyncio/tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py index ec04d2f..42413dc 100644 --- a/Lib/asyncio/tasks.py +++ b/Lib/asyncio/tasks.py @@ -32,6 +32,8 @@ _DEBUG = False class CoroWrapper: + # Wrapper for coroutine in _DEBUG mode. + __slots__ = ['gen', 'func', '__name__', '__doc__'] def __init__(self, gen, func): -- cgit v0.12