diff options
Diffstat (limited to 'mammoth/document_matchers.py')
| -rw-r--r-- | mammoth/document_matchers.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mammoth/document_matchers.py b/mammoth/document_matchers.py index 1049c94..5cfe92d 100644 --- a/mammoth/document_matchers.py +++ b/mammoth/document_matchers.py @@ -1,11 +1,11 @@ import collections -def paragraph(style_name=None): - return ParagraphMatcher(style_name) +def paragraph(style_name=None, numbering=None): + return ParagraphMatcher(style_name, numbering) -ParagraphMatcher = collections.namedtuple("ParagraphMatcher", ["style_name"]) +ParagraphMatcher = collections.namedtuple("ParagraphMatcher", ["style_name", "numbering"]) def run(style_name=None): |
