From 7394f1458b35de8dba7bae2381f42a6da331908c Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sun, 24 Jun 2018 20:40:58 -0700 Subject: [PATCH] Fix typo --- etgtools/sphinx_generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etgtools/sphinx_generator.py b/etgtools/sphinx_generator.py index 256aa889..61b9c581 100644 --- a/etgtools/sphinx_generator.py +++ b/etgtools/sphinx_generator.py @@ -1979,13 +1979,13 @@ class XMLDocString(object): else: raise Exception('Unhandled docstring kind for %s'%xml_item.__class__.__name__) - # Some of the Exctractors (xml item) will set deprecated themselves, in which case it is set as a + # Some of the Extractors (xml item) will set deprecated themselves, in which case it is set as a # non-empty string. In such cases, this branch will insert a deprecated section into the xml tree # so that the Node Tree (see classes above) will generate the deprecated tag on their own in self.RecurseXML if hasattr(xml_item, 'deprecated') and xml_item.deprecated and isinstance(xml_item.deprecated, string_base): element = et.Element('deprecated', kind='deprecated') element.text = xml_item.deprecated - + deprecated_section = Section(element, None, self.kind, self.is_overload, self.share_docstrings) self.root.AddSection(deprecated_section)