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

traceback.clear_frames(tb) Clears the local variables of all the stack frames in a traceback tb by calling the clear()

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

contextlib.redirect_stdout(new_target) Context manager for temporarily redirecting

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

sys.last_value sys.last_traceback These three variables are not always defined; they are set when an exception is

2025-01-10 15:47:30
traceback.TracebackException.filename
  • References/Python/Python/Runtime

filename For syntax errors - the file name where the error occurred.

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

@abc.abstractproperty(fget=None, fset=None, fdel=None, doc=None) A subclass of the built-in

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

inspect.getmodule(object) Try to guess which module an object was defined in.

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

gc.get_count() Return the current collection counts as a tuple of (count0, count1, count2).

2025-01-10 15:47:30
inspect.BoundArguments.args
  • References/Python/Python/Runtime

args A tuple of positional arguments values. Dynamically computed from the arguments attribute.

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

inspect.getargspec(func) Get the names and default values of a Python function’s arguments. A named

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

pop_all() Transfers the callback stack to a fresh ExitStack instance and returns it. No callbacks are invoked by

2025-01-10 15:47:30