MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / __iter__

Method __iter__

tests/test_code/py/pytz/lazy.py:40–48  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 return key in self.data
39
40 def __iter__(self):
41 if self.data is None:
42 _fill_lock.acquire()
43 try:
44 if self.data is None:
45 self._fill()
46 finally:
47 _fill_lock.release()
48 return iter(self.data)
49
50 def __len__(self):
51 if self.data is None:

Callers

nothing calls this directly

Calls 1

_fillMethod · 0.45

Tested by

no test coverage detected