[Python-checkins] cpython: asyncio: Reincarnate CoroWrapper's docstring as a comment.
guido.van.rossum
python-checkins at python.org
Thu Jan 16 20:05:29 CET 2014
http://hg.python.org/cpython/rev/18a71ae9e715
changeset: 88511:18a71ae9e715
user: Guido van Rossum <guido at python.org>
date: Thu Jan 16 11:05:23 2014 -0800
summary:
asyncio: Reincarnate CoroWrapper's docstring as a comment.
files:
Lib/asyncio/tasks.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py
--- a/Lib/asyncio/tasks.py
+++ b/Lib/asyncio/tasks.py
@@ -32,6 +32,8 @@
class CoroWrapper:
+ # Wrapper for coroutine in _DEBUG mode.
+
__slots__ = ['gen', 'func', '__name__', '__doc__']
def __init__(self, gen, func):
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list