Source code: Lib/__future__
sys._getframe([depth]) Return a frame object from the call stack. If optional integer depth is given, return the frame
inspect.isroutine(object) Return true if the object is a user-defined or built-in function or method.
inspect.isgeneratorfunction(object) Return true if the object is a Python generator function.
register(subclass) Register subclass as a “virtual subclass” of this ABC. For example:
annotation The annotation for the parameter. If the parameter has no annotation, this attribute is set to Parameter.empty
replace(*[, name][, kind][, default][, annotation]) Create a new Parameter instance based on the instance replaced was invoked
sys.argv The list of command line arguments passed to a Python script. argv[0] is the script name (it is operating
inspect.getcoroutinelocals(coroutine) This function is analogous to getgeneratorlocals(), but works for coroutine
return_annotation The “return” annotation for the callable. If the callable has no “return” annotation, this attribute is set
Page 14 of 26