Let polint.py be compatible with python 2.x