diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-03-18 01:21:01 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-03-18 01:21:01 +0900 |
commit | 9efaf18852fb076893e5a25aa624c0cba0316fa8 (patch) | |
tree | c03d23f3336fc1b5a7a64f86592882af4a40d193 /sphinx/ext/graphviz.py | |
parent | d5e38b6e80ca3d3df86e3e16fbf455dcc9aa1fa1 (diff) | |
parent | d97f41c0e3051a2634b50f4e9abd5e490345cab0 (diff) | |
download | sphinx-git-9efaf18852fb076893e5a25aa624c0cba0316fa8.tar.gz |
Merge branch '1.7'
Diffstat (limited to 'sphinx/ext/graphviz.py')
-rw-r--r-- | sphinx/ext/graphviz.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/ext/graphviz.py b/sphinx/ext/graphviz.py index daff7f103..bc348f4e1 100644 --- a/sphinx/ext/graphviz.py +++ b/sphinx/ext/graphviz.py @@ -16,7 +16,6 @@ import re from hashlib import sha1 from os import path from subprocess import Popen, PIPE -from typing import TYPE_CHECKING from docutils import nodes from docutils.parsers.rst import Directive, directives @@ -30,7 +29,8 @@ from sphinx.util import logging from sphinx.util.i18n import search_image_for_language from sphinx.util.osutil import ensuredir, ENOENT, EPIPE, EINVAL -if TYPE_CHECKING: +if False: + # For type annotation from typing import Any, Dict, List, Tuple # NOQA from sphinx.application import Sphinx # NOQA |