summaryrefslogtreecommitdiff
path: root/clang/bindings
diff options
context:
space:
mode:
authorSerge Guelton <sguelton@quarkslab.com>2018-12-18 16:07:37 +0000
committerSerge Guelton <sguelton@quarkslab.com>2018-12-18 16:07:37 +0000
commit411ea892eb0818c4d20c1273a02f57be7a39420e (patch)
tree4738dd538c5f11cfe474e72c57284c9d275facc0 /clang/bindings
parent82b2d2fea10d6f6d44d53ca6b9eb97a612349434 (diff)
Portable Python script across Python version
Make scripts more future-proof by importing most __future__ stuff. Differential Revision: https://reviews.llvm.org/D55208
Diffstat (limited to 'clang/bindings')
-rw-r--r--clang/bindings/python/clang/cindex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/bindings/python/clang/cindex.py b/clang/bindings/python/clang/cindex.py
index 5dbe809af9f..54514b8daef 100644
--- a/clang/bindings/python/clang/cindex.py
+++ b/clang/bindings/python/clang/cindex.py
@@ -44,7 +44,7 @@ The major indexing objects are:
Most object information is exposed using properties, when the underlying API
call is efficient.
"""
-from __future__ import print_function
+from __future__ import absolute_import, division, print_function
# TODO
# ====