diff options
| author | Serge Guelton <sguelton@quarkslab.com> | 2018-12-18 16:07:37 +0000 |
|---|---|---|
| committer | Serge Guelton <sguelton@quarkslab.com> | 2018-12-18 16:07:37 +0000 |
| commit | b748c0e696602cd8371c875a3eb337b8b221800d (patch) | |
| tree | da9858e64a96816d776181b2d865e5f46cbce5e2 /clang/bindings/python | |
| parent | 3ee1ffc9fcb09dcfbcb6b84e19c9855eae8cafa2 (diff) | |
| download | bcm5719-llvm-b748c0e696602cd8371c875a3eb337b8b221800d.tar.gz bcm5719-llvm-b748c0e696602cd8371c875a3eb337b8b221800d.zip | |
Portable Python script across Python version
Make scripts more future-proof by importing most __future__ stuff.
Differential Revision: https://reviews.llvm.org/D55208
llvm-svn: 349504
Diffstat (limited to 'clang/bindings/python')
| -rw-r--r-- | clang/bindings/python/clang/cindex.py | 2 |
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 # ==== |

