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
sys.float_info
  • References/Python/Python/Runtime

sys.float_info A struct sequence holding information about the float type. It contains

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

sys.last_traceback These three variables are not always defined; they are set when an exception is not handled and the interpreter

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
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
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.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
traceback.TracebackException.text
  • References/Python/Python/Runtime

text For syntax errors - the text where the error occurred.

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
sys.float_repr_style
  • References/Python/Python/Runtime

sys.float_repr_style A string indicating how the

2025-01-10 15:47:30