cltl / multilingual_factuality

3 stars 2 forks source link

Add print_function future import #2

Closed vanatteveldt closed 8 years ago

vanatteveldt commented 8 years ago

Probably related to https://github.com/cltl/multilingual_factuality/commit/d1cd4617445c04fc69541a3b08abd7aa1862c974

print(termSpan, file=sys.stderr) requires print to be a function, which in python2 requires the from __future__ import print_function. This works fine in python3 as well, so it should be safe to merge.

antske commented 8 years ago

Makes code Python2 and Python3 compatible