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

Method __init__

src/pptx/slide.py:352–354  ·  view source on GitHub ↗
(self, sldLayoutIdLst: CT_SlideLayoutIdList, parent: SlideMaster)

Source from the content-addressed store, hash-verified

350 part: SlideMasterPart # pyright: ignore[reportIncompatibleMethodOverride]
351
352 def __init__(self, sldLayoutIdLst: CT_SlideLayoutIdList, parent: SlideMaster):
353 super(SlideLayouts, self).__init__(sldLayoutIdLst, parent)
354 self._sldLayoutIdLst = sldLayoutIdLst
355
356 def __getitem__(self, idx: int) -> SlideLayout:
357 """Provides indexed access, e.g. `slide_layouts[2]`."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected