MCPcopy Create free account
hub / github.com/pybind/pybind11 / __init__

Method __init__

tests/test_multiple_inheritance.py:117–119  ·  view source on GitHub ↗
(self, i)

Source from the content-addressed store, hash-verified

115
116 class MI8b(B3, MI6):
117 def __init__(self, i):
118 B3.__init__(self)
119 MI6.__init__(self, i)
120
121 mi1 = MI1(1, 2)
122 assert mi1.foo() == 1

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected