Python: grammar for Python 3 in IDE