From ce5a4bef9f49f37b934c32da45031d9be4f0f67b Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 30 Aug 2014 11:24:39 +0100 Subject: Read footnotes and store in Document --- mammoth/results.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mammoth/results.py') diff --git a/mammoth/results.py b/mammoth/results.py index b4bedbd..9112296 100644 --- a/mammoth/results.py +++ b/mammoth/results.py @@ -34,3 +34,7 @@ def combine(results): messages.append(message) return Result(values, messages) + + +def map(func, *args): + return combine(args).map(lambda values: func(*values)) -- cgit v1.2.3