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
warnings.catch_warnings
  • References/Python/Python/Runtime

class warnings.catch_warnings(*, record=False, module=None) A context manager that copies and, upon exit, restores the warnings

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

sys.getprofile() Get the profiler function as set by setprofile().

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
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
inspect.BoundArguments.signature
  • References/Python/Python/Runtime

signature A reference to the parent Signature object.

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

sys.api_version The C API version for this interpreter. Programmers may find this useful when debugging version conflicts between

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

sysconfig.get_config_h_filename() Return the path of pyconfig.h.

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

sysconfig.get_makefile_filename() Return the path of Makefile.

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

traceback.walk_tb(tb) Walk a traceback following tb_next yielding the frame and line number for each frame. This

2025-01-10 15:47:30