summaryrefslogtreecommitdiff
path: root/sphinx/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/errors.py')
-rw-r--r--sphinx/errors.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/sphinx/errors.py b/sphinx/errors.py
index 34c0cae33..eef1a157a 100644
--- a/sphinx/errors.py
+++ b/sphinx/errors.py
@@ -10,9 +10,8 @@
:license: BSD, see LICENSE for details.
"""
-from typing import TYPE_CHECKING
-
-if TYPE_CHECKING:
+if False:
+ # For type annotation
from typing import Any # NOQA