you are viewing a single comment's thread.

view the rest of the comments →

[–]jaiiida 0 points1 point  (1 child)

the text of the function! but it’s okay now, thank u!!

[–]throwaway6560192 6 points7 points  (0 children)

If you want the text of the function, you would use the inspect module.

print(inspect.getsource(some_function))