Qu

docx.accept_changes

Builtin index · File I/O

result = docx.accept_changes(doc)

Input: doc · Output: result

What it is

Accepts every tracked change (insertions kept, deletions dropped, formatting changes kept) in every part of the document; docx.reject_changes(doc) does the opposite.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
result = docx.accept_changes(doc)
doc numbernot documented yet
result number
Returns the number of revision marks resolved.

Examples

No documentation example calls this form yet. The File I/O chapter is where one belongs.