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

Method __init__

tests/test_multiple_inheritance.py:164–168  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

162def test_multiple_inheritance_python_many_bases():
163 class MIMany14(m.BaseN1, m.BaseN2, m.BaseN3, m.BaseN4):
164 def __init__(self):
165 m.BaseN1.__init__(self, 1)
166 m.BaseN2.__init__(self, 2)
167 m.BaseN3.__init__(self, 3)
168 m.BaseN4.__init__(self, 4)
169
170 class MIMany58(m.BaseN5, m.BaseN6, m.BaseN7, m.BaseN8):
171 def __init__(self):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected