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

traceback.format_stack(f=None, limit=None) A shorthand for format_list(extract_stack(f, limit)).

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

gc.isenabled() Returns true if automatic collection is enabled.

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

sys.platform This string contains a platform identifier that can be used to append platform-specific components to sys

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

sysconfig.get_path_names() Return a tuple containing all path names currently supported in sysconfig.

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

close() Immediately unwinds the callback stack, invoking callbacks in the reverse order of registration. For any context managers

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

traceback.print_last(limit=None, file=None, chain=True) This is a shorthand for print_exception(sys.last_type, sys.last_value

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

replace(*[, parameters][, return_annotation]) Create a new Signature instance based on the instance replace was invoked on.

2025-01-10 15:47:30
contextlib.ContextDecorator
  • References/Python/Python/Runtime

class contextlib.ContextDecorator A base class that enables a context manager to also be used as a decorator.

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

sys.winver The version number used to form registry keys on Windows platforms. This is stored as string resource 1000 in the

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

sys._xoptions A dictionary of the various implementation-specific flags passed through the -X command-line option

2025-01-10 15:47:30