inspect.getmro()
  • References/Python/Python/Runtime

inspect.getmro(cls) Return a tuple of class cls’s base classes, including cls, in method resolution order. No class appears

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

sys.maxsize An integer giving the maximum value a variable of type Py_ssize_t can take. It’s usually 2**31

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

sys.warnoptions This is an implementation detail of the warnings framework; do not modify this value. Refer to the

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

sys.last_type sys.last_value sys.last_traceback These three variables

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

callback(callback, *args, **kwds) Accepts an arbitrary callback function and arguments and adds it to the callback stack.

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

inspect.isdatadescriptor(object) Return true if the object is a data descriptor. Data descriptors

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

gc.garbage A list of objects which the collector found to be unreachable but could not be freed (uncollectable objects). Starting

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

gc.disable() Disable automatic garbage collection.

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

gc.get_referrers(*objs) Return the list of objects that directly refer to any of objs. This function will only locate those

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

traceback.print_exception(etype, value, tb, limit=None, file=None, chain=True) Print exception information and stack trace entries

2025-01-10 15:47:30