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

Class MI4

tests/test_multiple_inheritance.py:77–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 MI2.__init__(self, i, j)
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 1

Calls

no outgoing calls

Tested by 1