Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ PyClass1
Class
PyClass1
tests/test_virtual_functions.py:248–250 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
246
""
"#159: virtual function dispatch has problems with similar-named functions"
""
247
248
class
PyClass1(m.DispatchIssue):
249
def
dispatch(self):
250
return
"Yay.."
251
252
class
PyClass2(m.DispatchIssue):
253
def
dispatch(self):
Callers
1
dispatch
Method · 0.85
Calls
no outgoing calls
Tested by
1
dispatch
Method · 0.68