inspect.getmro(cls) Return a tuple of class cls’s base classes, including cls, in method resolution order. No class appears
stack A StackSummary representing the traceback.
sys.__stdout__ sys.__stderr__ These objects contain the original values of stdin, stderr
inspect.getsourcelines(object) Return a list of source lines and starting line number for an object. The argument may be a module
sys.last_type sys.last_value sys.last_traceback These three variables
traceback.print_exception(etype, value, tb, limit=None, file=None, chain=True) Print exception information and stack trace entries
This module provides direct access to all ‘built-in’ identifiers of Python; for example, builtins.open is the full name for the built-in function
sys.stdin sys.stdout sys.stderr File
inspect.isawaitable(object) Return true if the object can be used in await expression. Can
sys.executable A string giving the absolute path of the executable binary for the Python interpreter, on systems where this
Page 8 of 26