PyDocs

Nav

Python Runtime Services

contextmanager.__exit__

builtins

method
  • contextmanager.__exit__(exc_type, exc_val, exc_tb)
Exit the runtime context and return a Boolean flag indicating if any exception that occurred should be suppressed. If an exception occurred while executing the body of the with statement, the arguments contain the exception type, value and traceback information. Otherwise, all three arguments are None.
0 Examples
No examples for builtins/contextmanager.__exit__.
See Also
No see-alsos for builtins/contextmanager.__exit__
0 Notes
No notes for contextmanager.__exit__