summaryrefslogtreecommitdiff
path: root/sphinx/writers/xml.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-16 00:32:10 +0900
committerGitHub <noreply@github.com>2018-12-16 00:32:10 +0900
commitc70e65fc6cd04d02df4f7911025f534dbd27cc20 (patch)
tree1e8614ac5516dace99ef1df4d203081662c7c2d6 /sphinx/writers/xml.py
parentd6d4406ce987cc8823d1b3a33be3a418bcd2a59d (diff)
parent79eec90f36f5a74e24cfd6740126396fd6567e07 (diff)
downloadsphinx-git-c70e65fc6cd04d02df4f7911025f534dbd27cc20.tar.gz
Merge branch 'master' into 5770_doctest_refers_highlight_language
Diffstat (limited to 'sphinx/writers/xml.py')
-rw-r--r--sphinx/writers/xml.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/sphinx/writers/xml.py b/sphinx/writers/xml.py
index 28510c587..85ca083a7 100644
--- a/sphinx/writers/xml.py
+++ b/sphinx/writers/xml.py
@@ -15,7 +15,6 @@ if False:
# For type annotation
from typing import Any, Tuple # NOQA
from sphinx.builders import Builder # NOQA
- from sphinx.util.typing import unicode # NOQA
class XMLWriter(BaseXMLWriter):
@@ -42,7 +41,7 @@ class PseudoXMLWriter(BaseXMLWriter):
"""Formats this writer supports."""
config_section = 'pseudoxml writer'
- config_section_dependencies = ('writers',) # type: Tuple[unicode]
+ config_section_dependencies = ('writers',)
output = None
"""Final translated form of `document`."""
@@ -57,6 +56,6 @@ class PseudoXMLWriter(BaseXMLWriter):
self.output = self.document.pformat()
def supports(self, format):
- # type: (unicode) -> bool
+ # type: (str) -> bool
"""This writer supports all format-specific elements."""
return True