pythonwhat
                                
                                
                                
                                    pythonwhat copied to clipboard
                            
                            
                            
                        add support for async function defs
python3 allows
async def f(): pass
AFAIK this produces an AST node that is identical to FunctionDef, except it is named AsyncFunctionDef. In order to support async functions we should just need to a visitor rule named AsyncFunctionDef for every FunctionDef rule...