aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx/relationships_xml.py
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth/docx/relationships_xml.py')
-rw-r--r--mammoth/docx/relationships_xml.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mammoth/docx/relationships_xml.py b/mammoth/docx/relationships_xml.py
index c30c428..555ba2d 100644
--- a/mammoth/docx/relationships_xml.py
+++ b/mammoth/docx/relationships_xml.py
@@ -18,6 +18,9 @@ class Relationships(object):
return self._targets_by_type[relationship_type]
+Relationships.EMPTY = Relationships([])
+
+
Relationship = collections.namedtuple("Relationship", ["relationship_id", "target", "type"])