gc.set_threshold()
  • References/Python/Python/Runtime

gc.set_threshold(threshold0[, threshold1[, threshold2]]) Set the garbage collection thresholds (the collection frequency). Setting

2025-01-10 15:47:30
gc.callbacks
  • References/Python/Python/Runtime

gc.callbacks A list of callbacks that will be invoked by the garbage collector before and after collection. The callbacks will

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

sys.copyright A string containing the copyright pertaining to the Python interpreter.

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

sysconfig.get_path(name[, scheme[, vars[, expand]]]) Return an installation path corresponding to the path name, from

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

sys.abiflags On POSIX systems where Python was built with the standard configure script, this contains the ABI

2025-01-10 15:47:30
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
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
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
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
sys.builtin_module_names
  • References/Python/Python/Runtime

sys.builtin_module_names A tuple of strings giving the names of all modules that are compiled into this Python interpreter.

2025-01-10 15:47:30