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

Method _recursion_count

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

Source from the content-addressed store, hash-verified

261 # Internal method used for reentrancy checks
262
263 def _recursion_count(self):
264 if self._owner != get_ident():
265 return 0
266 return self._count
267
268_PyRLock = _RLock
269

Callers 3

test_recursion_countMethod · 0.80
_stop_lockedMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_recursion_countMethod · 0.64