Stéphane Wirtel added the comment: why do you close it ?
def is not a keyword and it's a problem, how do you define a function is def is not a keyword. async is not a keyword but if you used it before 'def', async will become a keyword. have you checked the output from the tokenizer ? in the output, def is a NAME and not DEF. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25579> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com