Home
/
Python 3.11
/
Contextlib
/
push
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
Contextlib
push
Python 3.11
Adds a context manager’s __exit__() method to the callback stack.
Syntax
PYTHON
Copy
push(exit)
See Also
__exit__()
__enter__()
__exit__()
__exit__()
__exit__()