diff options
author | Yury Selivanov <yury@magic.io> | 2016-06-09 19:13:16 (GMT) |
---|---|---|
committer | Yury Selivanov <yury@magic.io> | 2016-06-09 19:13:16 (GMT) |
commit | 711d25db4802bd7341b48316d169e648285aac70 (patch) | |
tree | 46628b747f3f7bd1ccdc5e9fe7186e28978fa348 /Lib/_collections_abc.py | |
parent | 5dee6551e2b98792bc6336206f763623483e7883 (diff) | |
parent | a6f6edbda8648698289a8ee7abef6a35c924151b (diff) | |
download | cpython-711d25db4802bd7341b48316d169e648285aac70.zip cpython-711d25db4802bd7341b48316d169e648285aac70.tar.gz cpython-711d25db4802bd7341b48316d169e648285aac70.tar.bz2 |
Merge 3.5 (issue #27243)
Diffstat (limited to 'Lib/_collections_abc.py')
-rw-r--r-- | Lib/_collections_abc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/_collections_abc.py b/Lib/_collections_abc.py index 3158373..ffee385 100644 --- a/Lib/_collections_abc.py +++ b/Lib/_collections_abc.py @@ -156,7 +156,7 @@ class AsyncIterable(metaclass=ABCMeta): __slots__ = () @abstractmethod - async def __aiter__(self): + def __aiter__(self): return AsyncIterator() @classmethod @@ -176,7 +176,7 @@ class AsyncIterator(AsyncIterable): """Return the next item or raise StopAsyncIteration when exhausted.""" raise StopAsyncIteration - async def __aiter__(self): + def __aiter__(self): return self @classmethod |