Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ clone
Method
clone
tests/test_class_sh_trampoline_unique_ptr.py:10–13 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
8
return
10 + self.get_val()
9
10
def
clone(self):
11
cloned = MyClass()
12
cloned.set_val(self.get_val() + 3)
13
return
cloned
14
15
16
def
test_m_clone():
Callers
1
test_m_clone
Function · 0.45
Calls
1
MyClass
Class · 0.70
Tested by
no test coverage detected