MCPcopy Index your code
hub / github.com/RustPython/RustPython / _recursion_count

Method _recursion_count

Lib/threading.py:270–273  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

268 # Internal method used for reentrancy checks
269
270 def _recursion_count(self):
271 if self._owner != get_ident():
272 return 0
273 return self._count
274
275_PyRLock = _RLock
276

Callers 3

test_recursion_countMethod · 0.45
_stop_lockedMethod · 0.45

Calls 1

get_identFunction · 0.70

Tested by 1

test_recursion_countMethod · 0.36