MCPcopy Create free account
hub / github.com/Anoise/WTFlib / __next__

Method __next__

LDPS_Graph/data_provider/gdata_loader2.py:119–126  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

117 return snapshot
118
119 def __next__(self):
120 if self.t < self.times:
121 snapshot = self[self.t]
122 self.t = self.t + 1
123 return snapshot
124 else:
125 self.t = 0
126 raise StopIteration
127
128 def __iter__(self):
129 self.t = 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected