diff options
Diffstat (limited to 'sphinx/writers/xml.py')
-rw-r--r-- | sphinx/writers/xml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/writers/xml.py b/sphinx/writers/xml.py index 824fba304..2a18c173c 100644 --- a/sphinx/writers/xml.py +++ b/sphinx/writers/xml.py @@ -34,7 +34,7 @@ class XMLWriter(BaseXMLWriter): self.builder.env.config.xml_pretty self.document.settings.xml_declaration = True self.document.settings.doctype_declaration = True - return BaseXMLWriter.translate(self) + return super(XMLWriter, self).translate() class PseudoXMLWriter(writers.Writer): |