diff options
Diffstat (limited to 'sphinx/builders/xml.py')
-rw-r--r-- | sphinx/builders/xml.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/builders/xml.py b/sphinx/builders/xml.py index 933e86374..6198532c9 100644 --- a/sphinx/builders/xml.py +++ b/sphinx/builders/xml.py @@ -11,7 +11,6 @@ import codecs from os import path -from typing import TYPE_CHECKING from docutils import nodes from docutils.io import StringOutput @@ -23,7 +22,8 @@ from sphinx.util import logging from sphinx.util.osutil import ensuredir, os_path from sphinx.writers.xml import XMLWriter, PseudoXMLWriter -if TYPE_CHECKING: +if False: + # For type annotation from typing import Any, Dict, Iterator, Set # NOQA from sphinx.application import Sphinx # NOQA |