Improve Python 2 compatability with "future" print_function.
Use python3 version of the print function when running under python2. Also added "from __future__ import division" to a few more module files.
This commit is contained in:
committed by
Mike Beachy
parent
4e7427769e
commit
2079259884
@@ -1,5 +1,7 @@
|
||||
|
||||
from __future__ import division
|
||||
from __future__ import print_function
|
||||
|
||||
import math, Source.output, Source.group, Source.lib, itertools
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user