Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_count
Method · 0.45
_stop_locked
Method · 0.45
_ensure_running_and_write
Method · 0.45
Calls
1
get_ident
Function · 0.70
Tested by
1
test_recursion_count
Method · 0.36