summaryrefslogtreecommitdiff
path: root/mammoth/results.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-08-30 11:24:39 +0100
committerMichael Williamson <mike@zwobble.org>2014-08-30 11:24:39 +0100
commitce5a4bef9f49f37b934c32da45031d9be4f0f67b (patch)
tree46b2dfd28d0547ab5bbcd3924d73c21ffc6ce796 /mammoth/results.py
parent32d35f2fcdd85f65ea38eb16b772de503f8d4107 (diff)
Read footnotes and store in Document
Diffstat (limited to 'mammoth/results.py')
-rw-r--r--mammoth/results.py4
1 files changed, 4 insertions, 0 deletions
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))