summaryrefslogtreecommitdiff
path: root/sphinx/util/compat.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-02-18 21:15:03 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-02-18 21:15:03 +0900
commit8e73cbca5206e11b62838a90e9f935e7906e8b85 (patch)
tree19460ebd26ab136367f631e3ae4500bcc393952b /sphinx/util/compat.py
parentf51b644f39ff53f14332eb8cd5019bbe8dc0e0e1 (diff)
downloadsphinx-git-8e73cbca5206e11b62838a90e9f935e7906e8b85.tar.gz
Fix ImportError
Diffstat (limited to 'sphinx/util/compat.py')
-rw-r--r--sphinx/util/compat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/util/compat.py b/sphinx/util/compat.py
index b3f78ca7d..32ac11341 100644
--- a/sphinx/util/compat.py
+++ b/sphinx/util/compat.py
@@ -8,6 +8,7 @@
:copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
+from __future__ import absolute_import
import sys
from typing import TYPE_CHECKING