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

Method __exit__

Lib/importlib/_bootstrap.py:173–175  ·  view source on GitHub ↗

Remove self.lock from this thread's _blocking_on list.

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

171 self.blocked_on.append(self.lock)
172
173 def __exit__(self, *args, **kwargs):
174 """Remove self.lock from this thread's _blocking_on list."""
175 self.blocked_on.remove(self.lock)
176
177
178class _DeadlockError(RuntimeError):

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected