summaryrefslogtreecommitdiff
path: root/sphinx/cmd/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/cmd/build.py')
-rw-r--r--sphinx/cmd/build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/cmd/build.py b/sphinx/cmd/build.py
index c0c31ae67..f01a4f941 100644
--- a/sphinx/cmd/build.py
+++ b/sphinx/cmd/build.py
@@ -10,9 +10,9 @@
"""
import sys
+from typing import TYPE_CHECKING
-if False:
- # For type annotation
+if TYPE_CHECKING:
from typing import List # NOQA