Provides indexed access, e.g. `slide_masters[2]`.
(self, idx: int)
| 439 | self._sldMasterIdLst = sldMasterIdLst |
| 440 | |
| 441 | def __getitem__(self, idx: int) -> SlideMaster: |
| 442 | """Provides indexed access, e.g. `slide_masters[2]`.""" |
| 443 | try: |
| 444 | sldMasterId = self._sldMasterIdLst.sldMasterId_lst[idx] |
| 445 | except IndexError: |
| 446 | raise IndexError("slide master index out of range") |
| 447 | return self.part.related_slide_master(sldMasterId.rId) |
| 448 | |
| 449 | def __iter__(self): |
| 450 | """Generate each |SlideMaster| instance in the collection, in sequence.""" |
nothing calls this directly
no test coverage detected