[issue25579] def is not a keyword with tokenize.py
Stéphane Wirtel
report at bugs.python.org
Sat Nov 7 10:59:11 EST 2015
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 <report at bugs.python.org>
<http://bugs.python.org/issue25579>
_______________________________________
More information about the Python-bugs-list
mailing list