Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ locked
Method
locked
Lib/threading.py:245–247 ·
view source on GitHub ↗
Return whether this object is locked.
(self)
Source
from the content-addressed store, hash-verified
243
self.release()
244
245
def
locked(self):
246
""
"Return whether this object is locked."
""
247
return
self._block.locked()
248
249
# Internal methods used by condition variables
250
Callers
1
__repr__
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected