RevisionGroup class

RevisionGroup class

Represents a group of sequential Revision objects. To learn more, visit the Track Changes in a Document documentation article.


authorGets the author of this revision group.
revision_typeGets the type of revisions included in this group.
textReturns inserted/deleted/moved text or description of format change.


Shows how to print info about a group of revisions in a document.

doc = aw.Document(MY_DIR + "Revisions.docx")

self.assertEqual(7, doc.revisions.groups.count)

for group in doc.revisions.groups:
    print(f"Revision author: {}; Revision type: {group.revision_type} \n\tRevision text: {group.text}")

See Also