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

Method __len__

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

Source from the content-addressed store, hash-verified

48 return iter(self.data)
49
50 def __len__(self):
51 if self.data is None:
52 _fill_lock.acquire()
53 try:
54 if self.data is None:
55 self._fill()
56 finally:
57 _fill_lock.release()
58 return len(self.data)
59
60 def keys(self):
61 if self.data is None:

Callers

nothing calls this directly

Calls 1

_fillMethod · 0.45

Tested by

no test coverage detected