diff options
Diffstat (limited to 'sphinx/writers/xml.py')
-rw-r--r-- | sphinx/writers/xml.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sphinx/writers/xml.py b/sphinx/writers/xml.py index b40d05ab7..f94fe847c 100644 --- a/sphinx/writers/xml.py +++ b/sphinx/writers/xml.py @@ -9,12 +9,11 @@ :license: BSD, see LICENSE for details. """ -from typing import TYPE_CHECKING - from docutils import writers from docutils.writers.docutils_xml import Writer as BaseXMLWriter -if TYPE_CHECKING: +if False: + # For type annotation from typing import Any, Tuple # NOQA from sphinx.builders import Builder # NOQA |