[Python-Dev] async/await in Python; v2

Barry Warsaw barry at python.org
Fri Apr 24 15:32:51 CEST 2015


On Apr 24, 2015, at 11:17 PM, Steven D'Aprano wrote:

>It seems to me that tools that search for r"^\s*def\s+spam\s*\(" are

They would likely search for something like r"^\s*def\s+[a-zA-Z0-9_]+" which
will hit "def async spam" but not "async def".

Cheers,
-Barry


More information about the Python-Dev mailing list