aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-02-13 23:46:57 +0000
committerMichael Williamson <mike@zwobble.org>2016-02-13 23:46:57 +0000
commitc93dba7541122d6734dd64ffc1d4603f6e8df5a3 (patch)
treecc49a20f95319e24e761bf6b6efc610c153edab0 /mammoth/docx
parent6e2dffd04d572acaa6959f28927a581e7e97bb08 (diff)
Remove unused function
Diffstat (limited to 'mammoth/docx')
-rw-r--r--mammoth/docx/body_xml.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/mammoth/docx/body_xml.py b/mammoth/docx/body_xml.py
index 2fa6643..f19fa6a 100644
--- a/mammoth/docx/body_xml.py
+++ b/mammoth/docx/body_xml.py
@@ -322,12 +322,6 @@ def _create_reader(numbering, content_types, relationships, styles, docx_file, f
return read, _read_xml_elements
-def _find(predicate, iterable):
- for item in iterable:
- if predicate(item):
- return item
-
-
def _inner_text(node):
if node.node_type == node_types.text:
return node.value