summaryrefslogtreecommitdiff
path: root/sphinx/addnodes.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/addnodes.py')
-rw-r--r--sphinx/addnodes.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/sphinx/addnodes.py b/sphinx/addnodes.py
index 950b9b8ca..e6999bd16 100644
--- a/sphinx/addnodes.py
+++ b/sphinx/addnodes.py
@@ -9,11 +9,10 @@
:license: BSD, see LICENSE for details.
"""
-from typing import TYPE_CHECKING
-
from docutils import nodes
-if TYPE_CHECKING:
+if False:
+ # For type annotation
from typing import List, Sequence # NOQA