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

Method __iter__

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

Source from the content-addressed store, hash-verified

773 return "\n".join([shape.to_pptc() for shape in self.data])
774
775 def __iter__(self):
776 for shape in self.data:
777 if isinstance(shape, GroupShape):
778 yield from shape
779 else:
780 yield shape
781
782 def __eq__(self, __value: object) -> bool:
783 if not isinstance(__value, GroupShape) or len(self.data) != len(__value.data):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected