commit | a6f6edbda8648698289a8ee7abef6a35c924151b | [log] [tgz] |
---|---|---|
author | Yury Selivanov <yury@magic.io> | Thu Jun 09 15:08:31 2016 -0400 |
committer | Yury Selivanov <yury@magic.io> | Thu Jun 09 15:08:31 2016 -0400 |
tree | 9eb77fd4f552bcabfb46a3938d0ded084e7709f9 | |
parent | ebe95fdabb42b02ff7eecab6bc9637cf5ccf1d2c [diff] [blame] |
Issue #27243: Fix __aiter__ protocol
diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py index d68cc7d..154e3b6 100644 --- a/Lib/test/test_grammar.py +++ b/Lib/test/test_grammar.py
@@ -1076,7 +1076,7 @@ class Done(Exception): pass class AIter: - async def __aiter__(self): + def __aiter__(self): return self async def __anext__(self): raise StopAsyncIteration