MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / __iter__

Method __iter__

utils/src/presentation.py:1152–1157  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1150 return sum([len(shape.text_frame) for shape in self.shapes])
1151
1152 def __iter__(self):
1153 for shape in self.shapes:
1154 if isinstance(shape, GroupShape):
1155 yield from shape
1156 else:
1157 yield shape
1158
1159 def __len__(self):
1160 return len(self.shapes)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected