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:
Matvey Adzhigirey
2012-12-11 16:27:52 -08:00
committed by Mike Beachy
parent 4e7427769e
commit 2079259884
20 changed files with 56 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
from __future__ import division
from __future__ import print_function
import math
class vector: