Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/grantjenks/python-sortedcontainers
/ copy
Method
copy
tests/sortedcollection.py:102–103 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
100
self.__init__([], self._key)
101
102
def
copy(self):
103
return
self.__class__(self, self._key)
104
105
def
__len__(self):
106
return
len(self._items)
Callers
10
test_copy_copy
Function · 0.45
sortedcollection.py
File · 0.45
test_copy_copy
Function · 0.45
stress_difference
Function · 0.45
stress_intersection
Function · 0.45
stress_symmetric_difference
Function · 0.45
stress_copy
Function · 0.45
test_copy_copy
Function · 0.45
test_copy_copy
Function · 0.45
test_copy_copy
Function · 0.45
Calls
no outgoing calls
Tested by
9
test_copy_copy
Function · 0.36
test_copy_copy
Function · 0.36
stress_difference
Function · 0.36
stress_intersection
Function · 0.36
stress_symmetric_difference
Function · 0.36
stress_copy
Function · 0.36
test_copy_copy
Function · 0.36
test_copy_copy
Function · 0.36
test_copy_copy
Function · 0.36