aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx/xmlparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth/docx/xmlparser.py')
-rw-r--r--mammoth/docx/xmlparser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mammoth/docx/xmlparser.py b/mammoth/docx/xmlparser.py
index bb84afd..2e22cec 100644
--- a/mammoth/docx/xmlparser.py
+++ b/mammoth/docx/xmlparser.py
@@ -10,7 +10,7 @@ class XmlElement(object):
children = cobble.field()
def find_child_or_null(self, name):
- return self.find_child(name) or _null_xml_element
+ return self.find_child(name) or null_xml_element
def find_child(self, name):
for child in self.children:
@@ -50,7 +50,7 @@ class NullXmlElement(object):
return None
-_null_xml_element = NullXmlElement()
+null_xml_element = NullXmlElement()
@cobble.data