MCPcopy Create free account
hub / github.com/python/cpython / locked

Method locked

Lib/threading.py:238–240  ·  view source on GitHub ↗

Return whether this object is locked.

(self)

Source from the content-addressed store, hash-verified

236 self.release()
237
238 def locked(self):
239 """Return whether this object is locked."""
240 return self._block.locked()
241
242 # Internal methods used by condition variables
243

Callers 1

__repr__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected