contextlib.redirect_stderr(new_target) Similar to redirect_stdout() but redirecting
class traceback.StackSummary classmethod extract(frame_gen, *, limit=None, lookup_lines=True
__suppress_context__ The __suppress_context__ value from the original exception.
sys.path_hooks A list of callables that take a path argument to try to create a finder
traceback.extract_stack(f=None, limit=None) Extract the raw traceback from the current stack frame. The return value has the
traceback.print_stack(f=None, limit=None, file=None) Print up to limit stack trace entries (starting from the invocation
class abc.ABC A helper class that has ABCMeta as its metaclass. With this class, an abstract base class can be
sys.maxsize An integer giving the maximum value a variable of type Py_ssize_t can take. It’s usually 2**31
inspect.isdatadescriptor(object) Return true if the object is a data descriptor. Data descriptors
inspect.iscode(object) Return true if the object is a code.
Page 7 of 26