How to get method parameter names?
Given the Python function: def a_method(arg1, arg2): pass How can I extract the number and names of the arguments. I.e., given that I have a reference to func, I want the func.[something] to return (“arg1”, “arg2”). The usage scenario for this is that I have a decorator, and I wish to use the method arguments … Read more