MCPcopy 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_copyFunction · 0.45
test_copy_copyFunction · 0.45
stress_differenceFunction · 0.45
stress_intersectionFunction · 0.45
stress_copyFunction · 0.45
test_copy_copyFunction · 0.45
test_copy_copyFunction · 0.45
test_copy_copyFunction · 0.45

Calls

no outgoing calls

Tested by 9

test_copy_copyFunction · 0.36
test_copy_copyFunction · 0.36
stress_differenceFunction · 0.36
stress_intersectionFunction · 0.36
stress_copyFunction · 0.36
test_copy_copyFunction · 0.36
test_copy_copyFunction · 0.36
test_copy_copyFunction · 0.36