diff options
author | Guido van Rossum <guido@python.org> | 2014-01-16 19:05:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2014-01-16 19:05:23 (GMT) |
commit | e1f554490de1852faa03b5c06f051756aa168bfe (patch) | |
tree | 1a1dfade3573cea14e1a71b65a09a0ae9ca149c5 /Lib/asyncio/tasks.py | |
parent | 59759ff23420868b1b45de37f6ad6dc7de81778a (diff) | |
download | cpython-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.py | 2 |
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): |