aboutsummaryrefslogtreecommitdiff
path: root/mammoth
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth')
-rw-r--r--mammoth/docx/__init__.py3
-rw-r--r--mammoth/docx/document_xml.py5
2 files changed, 2 insertions, 6 deletions
diff --git a/mammoth/docx/__init__.py b/mammoth/docx/__init__.py
index 17c90a8..6e1013b 100644
--- a/mammoth/docx/__init__.py
+++ b/mammoth/docx/__init__.py
@@ -1,8 +1,7 @@
import zipfile
-from .. import documents
from ..results import Result
-from .xmlparser import parse_xml, node_types
+from .xmlparser import parse_xml
from .document_xml import read_document_xml_element
diff --git a/mammoth/docx/document_xml.py b/mammoth/docx/document_xml.py
index c83c28c..1c9a43b 100644
--- a/mammoth/docx/document_xml.py
+++ b/mammoth/docx/document_xml.py
@@ -1,8 +1,5 @@
-import zipfile
-
from .. import documents
-from ..results import Result
-from .xmlparser import parse_xml, node_types
+from .xmlparser import node_types
_handlers = {}