summaryrefslogtreecommitdiff
path: root/sphinx/util/websupport.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/websupport.py')
-rw-r--r--sphinx/util/websupport.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sphinx/util/websupport.py b/sphinx/util/websupport.py
index f91cca97a..a416fa48c 100644
--- a/sphinx/util/websupport.py
+++ b/sphinx/util/websupport.py
@@ -7,7 +7,12 @@
:license: BSD, see LICENSE for details.
"""
+if False:
+ # For type annotation
+ from docutils import nodes # NOQA
+
def is_commentable(node):
+ # type: (nodes.Node) -> bool
# return node.__class__.__name__ in ('paragraph', 'literal_block')
return node.__class__.__name__ == 'paragraph'