diff options
Diffstat (limited to 'sphinx/util/websupport.py')
-rw-r--r-- | sphinx/util/websupport.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sphinx/util/websupport.py b/sphinx/util/websupport.py index 59133b9e1..59496ec02 100644 --- a/sphinx/util/websupport.py +++ b/sphinx/util/websupport.py @@ -10,5 +10,8 @@ try: from sphinxcontrib.websupport.utils import is_commentable # NOQA except ImportError: + from docutils import nodes # NOQA + def is_commentable(node): + # type: (nodes.Node) -> bool raise RuntimeError |