Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Coniferish committed Oct 4, 2023
1 parent b1c4048 commit 262e342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unstructured/partition/docx.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def iter_document_elements(
metadata_last_modified: Optional[str] = None,
) -> Iterator[Element]:
"""Partition MS Word documents (.docx format) into its document elements."""
return cls( # returning the iterator, not the items
return cls(
filename,
file,
metadata_filename,
Expand Down

0 comments on commit 262e342

Please sign in to comment.