Fix syntax error on Python 3.*