traceback.TracebackException.from_exception()
  • References/Python/Python/Runtime

classmethod from_exception(exc, *, limit=None, lookup_lines=True, capture_locals=False) Capture an exception for later rendering

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

inspect.isbuiltin(object) Return true if the object is a built-in function or a bound built-in method.

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

sys.int_info A struct sequence that holds information about Python’s internal representation

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

warnings.warn(message, category=None, stacklevel=1) Issue a warning, or maybe ignore it or raise an exception. The category

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

gc.enable() Enable automatic garbage collection.

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

inspect.getouterframes(frame, context=1) Get a list of frame records for a frame and all outer frames. These frames represent

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

@abc.abstractmethod A decorator indicating abstract methods. Using this decorator requires that

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

bind(*args, **kwargs) Create a mapping from positional and keyword arguments to parameters. Returns BoundArguments

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

sys.displayhook(value) If value is not None, this function prints repr(value) to sys

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

inspect.currentframe() Return the frame object for the caller’s stack frame.

2025-01-10 15:47:30