MCPcopy Index your code
hub / github.com/RustPython/RustPython / __init__

Method __init__

Lib/test/test_bytes.py:42–43  ·  view source on GitHub ↗
(self, value=0)

Source from the content-addressed store, hash-verified

40
41class Indexable:
42 def __init__(self, value=0):
43 self.value = value
44 def __index__(self):
45 return self.value
46

Callers 3

test_init_allocMethod · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected