Skip to main content

get_function_as_str

Extract the body of a function or method’s source code, excluding its name, docstrings, and comments. Parameters: Returns: Raises: Examples: python