Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/debugpy
/ __getstate__
Method
__getstate__
tests/patterns/_impl.py:245–248 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
243
return
dict.__repr__(self.items)[:-1] +
", ...}"
244
245
def
__getstate__(self):
246
items = self.items.copy()
247
items[
"\002..."
] =
"...\003"
248
return
items
249
250
def
matches(self, other):
251
if
not isinstance(other, dict):
Callers
nothing calls this directly
Calls
1
copy
Method · 0.45
Tested by
no test coverage detected