Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ __init__
Method
__init__
tests/test_virtual_functions.py:34–35 ·
view source on GitHub ↗
(self, state)
Source
from the content-addressed store, hash-verified
32
33
class
ExtendedExampleVirt2(ExtendedExampleVirt):
34
def
__init__(self, state):
35
super().__init__(state + 1)
36
37
def
get_string2(self):
38
return
"override2"
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected