diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-12-13 17:41:57 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-12-13 17:41:57 +0000 |
| commit | 52a0281824ebe97f4233066b73a1e9739b639d9d (patch) | |
| tree | 6e704b641c11b97fc141a7c0f4a44269a3f0ec7f /mammoth/documents.py | |
| parent | d091e47adf6cd69d986cac935de9d61b7da17f82 (diff) | |
Parse ordered list document matcher
Diffstat (limited to 'mammoth/documents.py')
| -rw-r--r-- | mammoth/documents.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mammoth/documents.py b/mammoth/documents.py index 7fb34b6..ba03e92 100644 --- a/mammoth/documents.py +++ b/mammoth/documents.py @@ -37,7 +37,4 @@ image = Image hyperlink = Hyperlink -class NumberingLevel(object): - def __init__(self, level_index, is_ordered): - self.level_index = level_index - self.is_ordered = is_ordered +NumberingLevel = collections.namedtuple("NumberingLevel", ["level_index", "is_ordered"]) |
