inspect.iscoroutinefunction(object) Return true if the object is a coroutine function
__context__ A TracebackException of the original __context__.
inspect.cleandoc(doc) Clean up indentation from docstrings that are indented to line up with blocks of code.
offset For syntax errors - the offset into the text where the error occurred.
traceback.format_exception_only(etype, value) Format the exception part of a traceback. The arguments are the exception type
traceback.format_exception(etype, value, tb, limit=None, chain=True) Format a stack trace and the exception information. The
sys.setswitchinterval(interval) Set the interpreter’s thread switch interval (in seconds). This floating-point value determines
enter_context(cm) Enters a new context manager and adds its __exit__() method to the callback stack. The return
sys.byteorder An indicator of the native byte order. This will have the value 'big' on big-endian (most-significant
inspect.getfile(object) Return the name of the (text or binary) file in which an object was defined. This will fail with a
Page 4 of 26