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

Method __init__

tests/test_class.py:245–246  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

243 # Multiple bases
244 class RabbitHamster(m.Rabbit, m.Hamster):
245 def __init__(self):
246 m.Rabbit.__init__(self, "RabbitHamster")
247
248 with pytest.raises(TypeError) as exc_info:
249 RabbitHamster()

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected