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

Method close

Lib/contextlib.py:625–627  ·  view source on GitHub ↗

Immediately unwind the context stack.

(self)

Source from the content-addressed store, hash-verified

623 return received_exc and suppressed_exc
624
625 def close(self):
626 """Immediately unwind the context stack."""
627 self.__exit__(None, None, None)
628
629
630# Inspired by discussions on https://bugs.python.org/issue29302

Callers 2

__exit__Method · 0.45
__exit__Method · 0.45

Calls 1

__exit__Method · 0.95

Tested by

no test coverage detected