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

Method lucky_number

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

Source from the content-addressed store, hash-verified

346
347 class CR(m.C_Repeat):
348 def lucky_number(self):
349 return m.C_Repeat.lucky_number(self) + 1.25
350
351 obj = CR()
352 assert obj.say_something(3) == "B says hi 3 times"

Callers 2

lucky_numberMethod · 0.45
lucky_numberMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected