Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/grantjenks/python-sortedcontainers
/ _setkey
Method
_setkey
tests/sortedcollection.py:90–92 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
88
return
self._key
89
90
def
_setkey(self, key):
91
if
key is not self._key:
92
self.__init__(self._items, key=key)
93
94
def
_delkey(self):
95
self._setkey(None)
Callers
1
_delkey
Method · 0.95
Calls
1
__init__
Method · 0.95
Tested by
no test coverage detected