inspect.getmodulename(path) Return the name of the module named by the file path, without including the names of enclosing
sys.getrefcount(object) Return the reference count of the object. The count returned is generally one higher than you
sys._clear_type_cache() Clear the internal type cache. The type cache is used to speed up attribute and method lookups. Use
sys._getframe([depth]) Return a frame object from the call stack. If optional integer depth is given, return the frame
inspect.formatargvalues(args[, varargs, varkw, locals, formatarg, formatvarargs, formatvarkw, formatvalue]) Format a pretty
sys.__displayhook__ sys.__excepthook__ These objects contain the original values of displayhook and
inspect.getdoc(object) Get the documentation string for an object, cleaned up with cleandoc(). If the documentation
contextlib.suppress(*exceptions) Return a context manager that suppresses any of the specified exceptions if they occur in the
abc.get_cache_token() Returns the current abstract base class cache token. The token is an opaque
sys._current_frames() Return a dictionary mapping each thread’s identifier to the topmost stack frame currently active in that
Page 11 of 26