traceback.extract_tb()
  • References/Python/Python/Runtime

traceback.extract_tb(tb, limit=None) Return a list of “pre-processed” stack trace entries extracted from the traceback object

2025-01-10 15:47:30
traceback.StackSummary.from_list()
  • References/Python/Python/Runtime

classmethod from_list(a_list) Construct a StackSummary object from a supplied old-style list of tuples. Each tuple

2025-01-10 15:47:30
inspect.Parameter.annotation
  • References/Python/Python/Runtime

annotation The annotation for the parameter. If the parameter has no annotation, this attribute is set to Parameter.empty

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

gc.collect(generations=2) With no arguments, run a full collection. The optional argument generation may be an integer

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

class contextlib.ExitStack A context manager that is designed to make it easy to programmatically combine other context managers

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

sys.getwindowsversion() Return a named tuple describing the Windows version currently running. The named elements are major

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

sys.argv The list of command line arguments passed to a Python script. argv[0] is the script name (it is operating

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

site.getusersitepackages() Return the path of the user-specific site-packages directory, USER_SITE. If it is not

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

push(exit) Adds a context manager’s __exit__() method to the callback stack. As

2025-01-10 15:47:30
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