blob: 4e3ac7ce7d681d23253cc4d21c4f4da677da2018 [file] [log] [blame]
Correctly raise ``SyntaxError`` if *await* is used inside non-async
functions and ``PyCF_ALLOW_TOP_LEVEL_AWAIT`` is set (like in the asyncio
REPL). Patch by Pablo Galindo.