inspect.getmodulename()
  • References/Python/Python/Runtime

inspect.getmodulename(path) Return the name of the module named by the file path, without including the names of enclosing

2025-01-10 15:47:30
sys.getrefcount()
  • References/Python/Python/Runtime

sys.getrefcount(object) Return the reference count of the object. The count returned is generally one higher than you

2025-01-10 15:47:30
sys.
  • References/Python/Python/Runtime

sys._clear_type_cache() Clear the internal type cache. The type cache is used to speed up attribute and method lookups. Use

2025-01-10 15:47:30
sys.
  • References/Python/Python/Runtime

sys._getframe([depth]) Return a frame object from the call stack. If optional integer depth is given, return the frame

2025-01-10 15:47:30
inspect.formatargvalues()
  • References/Python/Python/Runtime

inspect.formatargvalues(args[, varargs, varkw, locals, formatarg, formatvarargs, formatvarkw, formatvalue]) Format a pretty

2025-01-10 15:47:30
sys.
  • References/Python/Python/Runtime

sys.__displayhook__ sys.__excepthook__ These objects contain the original values of displayhook and

2025-01-10 15:47:30
inspect.getdoc()
  • References/Python/Python/Runtime

inspect.getdoc(object) Get the documentation string for an object, cleaned up with cleandoc(). If the documentation

2025-01-10 15:47:30
contextlib.suppress()
  • References/Python/Python/Runtime

contextlib.suppress(*exceptions) Return a context manager that suppresses any of the specified exceptions if they occur in the

2025-01-10 15:47:30
abc.get_cache_token()
  • References/Python/Python/Runtime

abc.get_cache_token() Returns the current abstract base class cache token. The token is an opaque

2025-01-10 15:47:30
sys.
  • References/Python/Python/Runtime

sys._current_frames() Return a dictionary mapping each thread’s identifier to the topmost stack frame currently active in that

2025-01-10 15:47:30