
## \_\_getitem\_\_(index) {#int}

Returns a revision group at the specified index.


```python
def __getitem__(self, index: int):
    ...
```

| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |

### Examples

Shows how to get a group of revisions in a document.

```python
doc = aw.Document(file_name=MY_DIR + 'Revisions.docx')
revision_group = doc.revisions.groups[0]
```

### See Also

* module [aspose.words](../../)
* class [RevisionGroupCollection](../)

