summaryrefslogtreecommitdiff
path: root/src/ext/ed25519/ref10/sqrtm1.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/ed25519/ref10/sqrtm1.py')
-rw-r--r--src/ext/ed25519/ref10/sqrtm1.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ext/ed25519/ref10/sqrtm1.py b/src/ext/ed25519/ref10/sqrtm1.py
index 9a47fbc12a..a276d4e673 100644
--- a/src/ext/ed25519/ref10/sqrtm1.py
+++ b/src/ext/ed25519/ref10/sqrtm1.py
@@ -1,3 +1,8 @@
+# Future imports for Python 2.7, mandatory in 3.0
+from __future__ import division
+from __future__ import print_function
+from __future__ import unicode_literals
+
q = 2**255 - 19
def expmod(b,e,m):