Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ lucky_number
Method
lucky_number
tests/test_virtual_functions.py:435–436 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
433
return
-7
434
435
def
lucky_number(self):
436
return
-1.375
437
438
obj = BT()
439
assert obj.say_something(3) ==
"BTBTBT"
Callers
1
test_inherited_virtuals
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected