MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _keep_alive

Function _keep_alive

Lib/pickle.py:777–791  ·  view source on GitHub ↗

Keeps a reference to the object x in the memo. Because we remember objects by their id, we have to assure that possibly temporary objects are kept alive by referencing them. We store a reference at the id of the memo, which should normally not be used unless someone tries to dee

(x, memo)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

save_instMethod · 0.70

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected