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

Method __init__

tests/test_multiple_inheritance.py:78–81  ·  view source on GitHub ↗
(self, i, j)

Source from the content-addressed store, hash-verified

76
77 class MI4(MI3, m.Base2):
78 def __init__(self, i, j):
79 MI3.__init__(self, i, j)
80 # This should be ignored (Base2 is already initialized via MI2):
81 m.Base2.__init__(self, i + 100)
82
83 class MI5(m.Base2, B1, m.Base1):
84 def __init__(self, i, j):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected