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

Class CCT

tests/test_virtual_functions.py:376–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374 assert obj.say_everything() == "B says hi 1 times 4444"
375
376 class CCT(CT):
377 def lucky_number(self):
378 return CT.lucky_number(self) * 1000
379
380 obj = CCT()
381 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