MCPcopy Create free account
hub / github.com/scanny/python-pptx / __getitem__

Method __getitem__

src/pptx/chart/category.py:196–197  ·  view source on GitHub ↗
(self, offset)

Source from the content-addressed store, hash-verified

194 self._element = self._lvl = lvl
195
196 def __getitem__(self, offset):
197 return Category(self._lvl.pt_lst[offset])
198
199 def __len__(self):
200 return len(self._lvl.pt_lst)

Callers

nothing calls this directly

Calls 1

CategoryClass · 0.70

Tested by

no test coverage detected