'__main__' is the name of the scope in which top-level code executes. A module’s __name__ is set equal to '__main__' when read from standard input
sys.get_coroutine_wrapper() Returns None, or a wrapper set by set_coroutine_wrapper().
inspect.getattr_static(obj, attr, default=None) Retrieve attributes without triggering dynamic lookup via the descriptor protocol
traceback.format_stack(f=None, limit=None) A shorthand for format_list(extract_stack(f, limit)).
replace(*[, parameters][, return_annotation]) Create a new Signature instance based on the instance replace was invoked on.
format_exception_only() Format the exception part of the traceback. The return value is a generator
return_annotation The “return” annotation for the callable. If the callable has no “return” annotation, this attribute is set
sys._debugmallocstats() Print low-level information to stderr about the state of CPython’s memory allocator.
inspect.isgenerator(object) Return true if the object is a generator.
site.getuserbase() Return the path of the user base directory, USER_BASE. If it is not initialized yet, this function
Page 18 of 26