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

Class CCR

tests/test_virtual_functions.py:366–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364 assert obj.say_everything() == "B says hi 1 times 4444"
365
366 class CCR(CR):
367 def lucky_number(self):
368 return CR.lucky_number(self) * 10
369
370 obj = CCR()
371 assert obj.say_something(3) == "B says hi 3 times"

Callers 1

test_inherited_virtualsFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_inherited_virtualsFunction · 0.68