summaryrefslogtreecommitdiff
path: root/sphinx/util/pycompat.py
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2016-12-05 23:31:37 +0900
committershimizukawa <shimizukawa@gmail.com>2016-12-05 23:31:37 +0900
commit82ef05431a8283f348da39950104819352eacc30 (patch)
treeec4ff52c7c4adc0962db7d47eacaf364c7b15cea /sphinx/util/pycompat.py
parent0a7d039df59d15e56b74d7c6bdb72d2454f31cc1 (diff)
downloadsphinx-git-82ef05431a8283f348da39950104819352eacc30.tar.gz
fix flake8
Diffstat (limited to 'sphinx/util/pycompat.py')
-rw-r--r--sphinx/util/pycompat.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/util/pycompat.py b/sphinx/util/pycompat.py
index da2bcc255..f25e14023 100644
--- a/sphinx/util/pycompat.py
+++ b/sphinx/util/pycompat.py
@@ -18,11 +18,12 @@ from six import PY3, class_types, text_type, exec_
from six.moves import zip_longest
from itertools import product
+from sphinx.deprecation import RemovedInSphinx16Warning
+
if False:
# For type annotation
from typing import Any, Callable # NOQA
-from sphinx.deprecation import RemovedInSphinx16Warning
NoneType = type(None)