gc.get_referents(*objs) Return a list of objects directly referred to by any of the arguments. The referents returned are those
sys.base_exec_prefix Set during Python startup, before site.py is run, to the same value as exec_prefix
sys.meta_path A list of meta path finder objects that have their
sys.__stdin__ sys.__stdout__ sys.__stderr__ These objects contain the
classmethod from_callable(obj, *, follow_wrapped=True) Return a Signature (or its subclass) object for a given
inspect.cleandoc(doc) Clean up indentation from docstrings that are indented to line up with blocks of code.
class traceback.FrameSummary(filename, lineno, name, lookup_line=True, locals=None, line=None) Represent a single frame in the
sys.path_importer_cache A dictionary acting as a cache for finder objects. The keys are
traceback.format_exception_only(etype, value) Format the exception part of a traceback. The arguments are the exception type
inspect.getfile(object) Return the name of the (text or binary) file in which an object was defined. This will fail with a
Page 1 of 26