MCPcopy Create free account
hub / github.com/cdgriffith/Box / __init__

Method __init__

test/test_imul_index_comments.py:11–13  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

9
10class IndexOnce:
11 def __init__(self, value):
12 self.value = value
13 self.calls = 0
14
15 def __index__(self):
16 self.calls += 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected