MCPcopy Create free account
hub / github.com/libgit2/pygit2 / __iter__

Method __iter__

pygit2/utils.py:216–217  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

214 self.idx = 0
215
216 def __iter__(self) -> Iterator[T]:
217 return self
218
219 def __next__(self) -> T:
220 idx = self.idx

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected