From 310a5e5ceb5169a1c6fd67e0b22a08b6aa6a1328 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 16 Nov 2016 22:15:05 +0000 Subject: Add tokeniser --- mammoth/styles/__init__.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 mammoth/styles/__init__.py (limited to 'mammoth/styles/__init__.py') diff --git a/mammoth/styles/__init__.py b/mammoth/styles/__init__.py new file mode 100644 index 0000000..a90012b --- /dev/null +++ b/mammoth/styles/__init__.py @@ -0,0 +1,8 @@ +import collections + + +def style(document_matcher, html_path): + return Style(document_matcher, html_path) + + +Style = collections.namedtuple("Style", ["document_matcher", "html_path"]) -- cgit v1.2.3