diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-16 00:32:10 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-16 00:32:10 +0900 |
commit | c70e65fc6cd04d02df4f7911025f534dbd27cc20 (patch) | |
tree | 1e8614ac5516dace99ef1df4d203081662c7c2d6 /sphinx/writers/xml.py | |
parent | d6d4406ce987cc8823d1b3a33be3a418bcd2a59d (diff) | |
parent | 79eec90f36f5a74e24cfd6740126396fd6567e07 (diff) | |
download | sphinx-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.py | 5 |
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 |