## accept(visitor) {#documentvisitor} Accepts a visitor. ```python def accept(self, visitor: aspose.words.DocumentVisitor): ... ``` | Parameter | Type | Description | | --- | --- | --- | | visitor ......visit_paragraph_start()](../../documentvi.../documentvisitor/visit_paragraph_start/#paragraph), then calls [Node.accept()](...