From c93dba7541122d6734dd64ffc1d4603f6e8df5a3 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 13 Feb 2016 23:46:57 +0000 Subject: Remove unused function --- mammoth/docx/body_xml.py | 6 ------ 1 file changed, 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 -- cgit v1.2.3