__future__
  • References/Python/Python/Runtime

Source code: Lib/__future__

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

sys._getframe([depth]) Return a frame object from the call stack. If optional integer depth is given, return the frame

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

inspect.isroutine(object) Return true if the object is a user-defined or built-in function or method.

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

inspect.isgeneratorfunction(object) Return true if the object is a Python generator function.

2025-01-10 15:47:30
abc.ABCMeta.register()
  • References/Python/Python/Runtime

register(subclass) Register subclass as a “virtual subclass” of this ABC. For example:

2025-01-10 15:47:30
inspect.Parameter.annotation
  • References/Python/Python/Runtime

annotation The annotation for the parameter. If the parameter has no annotation, this attribute is set to Parameter.empty

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

replace(*[, name][, kind][, default][, annotation]) Create a new Parameter instance based on the instance replaced was invoked

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

sys.argv The list of command line arguments passed to a Python script. argv[0] is the script name (it is operating

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

inspect.getcoroutinelocals(coroutine) This function is analogous to getgeneratorlocals(), but works for coroutine

2025-01-10 15:47:30
inspect.Signature.return_annotation
  • References/Python/Python/Runtime

return_annotation The “return” annotation for the callable. If the callable has no “return” annotation, this attribute is set

2025-01-10 15:47:30