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

Method __exit__

Lib/importlib/_bootstrap.py:1229–1231  ·  view source on GitHub ↗

Release the import lock regardless of any raised exceptions.

(self, exc_type, exc_value, exc_traceback)

Source from the content-addressed store, hash-verified

1227 _imp.acquire_lock()
1228
1229 def __exit__(self, exc_type, exc_value, exc_traceback):
1230 """Release the import lock regardless of any raised exceptions."""
1231 _imp.release_lock()
1232
1233
1234def _resolve_name(name, package, level):

Callers

nothing calls this directly

Calls 1

release_lockMethod · 0.80

Tested by

no test coverage detected