From 4d09c8116dbf01487368c16a66ea13f07b3349a3 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 13 Dec 2013 18:02:12 +0000 Subject: Parse styles --- mammoth/styles.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 mammoth/styles.py (limited to 'mammoth/styles.py') diff --git a/mammoth/styles.py b/mammoth/styles.py new file mode 100644 index 0000000..a90012b --- /dev/null +++ b/mammoth/styles.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