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

Method lucky_number

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

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls 1

lucky_numberMethod · 0.45

Tested by

no test coverage detected