ID EN
Contextlib

close

Python 3.11

Immediately unwinds the callback stack, invoking callbacks in the reverse order of registration. For any context managers and exit callbacks registered, the arguments passed in will indicate that no exception occurred.

Syntax

PYTHON
close()