summaryrefslogtreecommitdiff
path: root/scripts/maint/rename_c_identifier.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/maint/rename_c_identifier.py')
-rwxr-xr-xscripts/maint/rename_c_identifier.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/maint/rename_c_identifier.py b/scripts/maint/rename_c_identifier.py
index 213172d913..6e0c1d8cf1 100755
--- a/scripts/maint/rename_c_identifier.py
+++ b/scripts/maint/rename_c_identifier.py
@@ -11,6 +11,11 @@ Helpful script to replace one or more C identifiers, and optionally
generate a commit message explaining what happened.
"""
+# 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 argparse
import fileinput
import os