[Python-checkins] cpython: asyncio: Fix a typo in CoroWrapper
victor.stinner
python-checkins at python.org
Thu Jan 16 01:38:52 CET 2014
http://hg.python.org/cpython/rev/429eb5f284dd
changeset: 88493:429eb5f284dd
user: Victor Stinner <victor.stinner at gmail.com>
date: Thu Jan 16 01:38:24 2014 +0100
summary:
asyncio: Fix a typo in CoroWrapper
__slot__ => __slots__
files:
Lib/asyncio/tasks.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py
--- a/Lib/asyncio/tasks.py
+++ b/Lib/asyncio/tasks.py
@@ -34,7 +34,7 @@
class CoroWrapper:
"""Wrapper for coroutine in _DEBUG mode."""
- __slot__ = ['gen', 'func']
+ __slots__ = ['gen', 'func']
def __init__(self, gen, func):
assert inspect.isgenerator(gen), gen
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list