aboutsummaryrefslogtreecommitdiff
path: root/scripts/codegen/makedesc.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/codegen/makedesc.py')
-rw-r--r--scripts/codegen/makedesc.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/codegen/makedesc.py b/scripts/codegen/makedesc.py
index efca4dda9a..7d8177f469 100644
--- a/scripts/codegen/makedesc.py
+++ b/scripts/codegen/makedesc.py
@@ -9,6 +9,11 @@
# I've used this to make inputs for unit tests. I wouldn't suggest
# using it for anything else.
+# Future imports for Python 2.7, mandatory in 3.0
+from __future__ import division
+from __future__ import print_function
+from __future__ import unicode_literals
+
import base64
import binascii
import ctypes