@contextlib.contextmanager This function is a decorator that can be used to define a
warnings.showwarning(message, category, filename, lineno, file=None, line=None) Write a warning to a file. The default implementation
warnings.resetwarnings() Reset the warnings filter. This discards the effect of all previous calls to filterwarnings()
sys.exit([arg]) Exit from Python. This is implemented by raising the
sysconfig.parse_config_h(fp[, vars]) Parse a config.h-style file. fp is
empty A special class-level marker to specify absence of a return annotation.
class contextlib.ContextDecorator A base class that enables a context manager to also be used as a decorator.
traceback.print_exc(limit=None, file=None, chain=True) This is a shorthand for print_exception(*sys.exc_info(), limit
close() Immediately unwinds the callback stack, invoking callbacks in the reverse order of registration. For any context managers
sys.stdout sys.stderr File objects used by the interpreter for standard input
Page 16 of 26