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

Method lucky_number

tests/test_virtual_functions.py:367–368  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls 1

lucky_numberMethod · 0.45

Tested by

no test coverage detected