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

gc.get_referents(*objs) Return a list of objects directly referred to by any of the arguments. The referents returned are those

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

sys.base_exec_prefix Set during Python startup, before site.py is run, to the same value as exec_prefix

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

sys.meta_path A list of meta path finder objects that have their

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

sys.__stdin__ sys.__stdout__ sys.__stderr__ These objects contain the

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

classmethod from_callable(obj, *, follow_wrapped=True) Return a Signature (or its subclass) object for a given

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

inspect.cleandoc(doc) Clean up indentation from docstrings that are indented to line up with blocks of code.

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

class traceback.FrameSummary(filename, lineno, name, lookup_line=True, locals=None, line=None) Represent a single frame in the

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

sys.path_importer_cache A dictionary acting as a cache for finder objects. The keys are

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

traceback.format_exception_only(etype, value) Format the exception part of a traceback. The arguments are the exception type

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

inspect.getfile(object) Return the name of the (text or binary) file in which an object was defined. This will fail with a

2025-01-10 15:47:30