commit | 7544508f0245173bff5866aa1598c8f6cce1fc5f | [log] [tgz] |
---|---|---|
author | Yury Selivanov <yselivanov@sprymix.com> | Mon May 11 22:57:16 2015 -0400 |
committer | Yury Selivanov <yselivanov@sprymix.com> | Mon May 11 22:57:16 2015 -0400 |
tree | bf80850d9cd46fc811f04b8c2484fb50775c697d | |
parent | 4e6bf4b3da03b132b0698f30ee931a350585b117 [diff] [blame] |
PEP 0492 -- Coroutines with async and await syntax. Issue #24017.
diff --git a/Lib/test/badsyntax_async2.py b/Lib/test/badsyntax_async2.py new file mode 100644 index 0000000..1e62a3e --- /dev/null +++ b/Lib/test/badsyntax_async2.py
@@ -0,0 +1,3 @@ +async def foo(): + def foo(a:await something()): + pass