On this page
libtmux.Session.__exit__
- Module
- libtmux
- Declared in
- Session
- Package
- libtmux
- Source
- src/libtmux/session.py
- __exit__ ( self , exc_type : type[BaseException] | None , exc_value : BaseException | None , exc_tb : types.TracebackType | None ) None
-
Exit the context, killing the session if it exists.
- Parameters
-
-
exc_type ( type[BaseException] | None ) – The type of the exception that was raised
-
exc_value ( BaseException | None ) – The instance of the exception that was raised
-
exc_tb ( types.TracebackType | None ) – The traceback of the exception that was raised
-
0 declared, 0 inherited