Grammar changed for Python3