enter_context(cm) Enters a new context manager and adds its __exit__() method to the callback stack. The return
inspect.ismodule(object) Return true if the object is a module.
inspect.stack(context=1) Return a list of frame records for the caller’s stack. The first entry in the returned list represents
sys.meta_path A list of meta path finder objects that have their
class traceback.TracebackException(exc_type, exc_value, exc_traceback, *, limit=None, lookup_lines=True, capture_locals=False) Capture
name The name of the parameter as a string. The name must be a valid Python identifier.
gc.get_referents(*objs) Return a list of objects directly referred to by any of the arguments. The referents returned are those
sysconfig.get_scheme_names() Return a tuple containing all schemes currently supported in sysconfig.
sys.setswitchinterval(interval) Set the interpreter’s thread switch interval (in seconds). This floating-point value determines
class inspect.BoundArguments Result of a Signature.bind() or Signature.bind_partial() call. Holds
Page 1 of 26