[Python] Fix bug with 'print' highlighting (function in Python3, keyword in Python2)
(cherry picked from commit 73f2024d5cbb3a3861eba6020d63631c91612b13)