aboutsummaryrefslogtreecommitdiff
path: root/clang/docs
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
commitb748c0e696602cd8371c875a3eb337b8b221800d (patch)
treeda9858e64a96816d776181b2d865e5f46cbce5e2 /clang/docs
parent3ee1ffc9fcb09dcfbcb6b84e19c9855eae8cafa2 (diff)
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/docs')
-rw-r--r--clang/docs/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/docs/conf.py b/clang/docs/conf.py
index a18ce3a30421..19113d0d5a70 100644
--- a/clang/docs/conf.py
+++ b/clang/docs/conf.py
@@ -11,7 +11,7 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
-from __future__ import print_function
+from __future__ import absolute_import, division, print_function
import sys, os
from datetime import date