### `docx.Document(docx: 'str | IO[bytes] | None' = None) -> 'DocumentObject'`

Return a |Document| object loaded from `docx`, where `docx` can be either a path
to a ``.docx`` file (a string) or a file-like object.

If `docx` is missing or ``None``, the built-in default document "template" is
loaded.

---
