MCPcopy Index your code
hub / github.com/python/cpython / get_refcount_helpers

Method get_refcount_helpers

Lib/test/test_capi/test_misc.py:2362–2367  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2360 _testinternalcapi.interpreter_exists(interpid))
2361
2362 def get_refcount_helpers(self):
2363 return (
2364 _testinternalcapi.get_interpreter_refcount,
2365 (lambda id: _interpreters.incref(id, implieslink=False)),
2366 _interpreters.decref,
2367 )
2368
2369 def test_linked_lifecycle_does_not_exist(self):
2370 exists = _testinternalcapi.interpreter_exists

Calls 1

increfMethod · 0.80

Tested by

no test coverage detected