inspect.getattr_static(obj, attr, default=None) Retrieve attributes without triggering dynamic lookup via the descriptor protocol
sys.setdlopenflags(n) Set the flags used by the interpreter for dlopen() calls, such as when the interpreter loads
sys.platform This string contains a platform identifier that can be used to append platform-specific components to sys
parameters An ordered mapping of parameters’ names to the corresponding Parameter objects.
format_exception_only() Format the exception part of the traceback. The return value is a generator
class contextlib.ContextDecorator A base class that enables a context manager to also be used as a decorator.
sys.getsizeof(object[, default]) Return the size of an object in bytes. The object can be any type of object. All built-in objects
sys.stdout sys.stderr File objects used by the interpreter for standard input
inspect.getfullargspec(func) Get the names and default values of a Python function’s arguments. A named
traceback.print_last(limit=None, file=None, chain=True) This is a shorthand for print_exception(sys.last_type, sys.last_value
Page 18 of 26