You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that None is a keyword in Python 2 as well. Additionally, print is not a keyword anymore in Python 3.
I've added print as a Python2 specific keyword and nonlocal as a Python3 specific one in PR #504. They other three are not a trivial change in the lexer, because also the parser has to handle them differently so I did not include them.
The lexer should recognize
True
,False
,None
andnonlocal
as keywords in Python 3 code.The text was updated successfully, but these errors were encountered: