diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-01-22 22:05:38 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-02-04 15:14:51 +0900 |
commit | dc2b153835af985c1bd940aa4116b78bf248b6e0 (patch) | |
tree | 29383d6007d2f13c517ae4646e639362017aa9d4 /sphinx/util/websupport.py | |
parent | 498fa379efe5b6b106c8d3eb56041164cdc8bab3 (diff) | |
download | sphinx-git-dc2b153835af985c1bd940aa4116b78bf248b6e0.tar.gz |
Update type annotations
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 |