Closed vanatteveldt closed 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.
print(termSpan, file=sys.stderr)
from __future__ import print_function
Makes code Python2 and Python3 compatible
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 thefrom __future__ import print_function
. This works fine in python3 as well, so it should be safe to merge.