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

Method part

tests/test_package.py:118–120  ·  view source on GitHub ↗
(idx)

Source from the content-addressed store, hash-verified

116
117 def i_image_parts(self, request, idxs):
118 def part(idx):
119 partname = PackURI("/ppt/media/image%d.png" % idx)
120 return instance_mock(request, Part, partname=partname)
121
122 return iter([part(idx) for idx in idxs])
123

Callers

nothing calls this directly

Calls 2

PackURIClass · 0.90
instance_mockFunction · 0.85

Tested by

no test coverage detected