SilentGhost added the comment:

Perhaps, my example wasn't as self-explanatory as I hoped. def is not DEF in 
the token list, because there isn't such a token DEF, as there isn't a token 
PASS or a token for any other keyword. The fact that there is an ASYNC and 
AWAIT tokens is something completely different and is not related to keywords 
as such. The link I provided lists all the tokens in the token module.

----------

_______________________________________
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

Reply via email to