summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/tasks.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2014-01-16 19:05:23 (GMT)
committerGuido van Rossum <guido@python.org>2014-01-16 19:05:23 (GMT)
commite1f554490de1852faa03b5c06f051756aa168bfe (patch)
tree1a1dfade3573cea14e1a71b65a09a0ae9ca149c5 /Lib/asyncio/tasks.py
parent59759ff23420868b1b45de37f6ad6dc7de81778a (diff)
downloadcpython-e1f554490de1852faa03b5c06f051756aa168bfe.zip
cpython-e1f554490de1852faa03b5c06f051756aa168bfe.tar.gz
cpython-e1f554490de1852faa03b5c06f051756aa168bfe.tar.bz2
asyncio: Reincarnate CoroWrapper's docstring as a comment.
Diffstat (limited to 'Lib/asyncio/tasks.py')
-rw-r--r--Lib/asyncio/tasks.py2
1 files changed, 2 insertions, 0 deletions
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):