diff options
Diffstat (limited to 'mammoth/documents.py')
| -rw-r--r-- | mammoth/documents.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mammoth/documents.py b/mammoth/documents.py new file mode 100644 index 0000000..50b5e65 --- /dev/null +++ b/mammoth/documents.py @@ -0,0 +1,7 @@ +import collections + + +Document = collections.namedtuple("Document", ["children"]) +Paragraph = collections.namedtuple("Paragraph", ["children"]) +Run = collections.namedtuple("Run", ["children"]) +Text = collections.namedtuple("Text", ["value"]) |
