SyntaxFix
Write A Post
Hire A Developer
Questions
import inspect def func(a,b,c=5): pass inspect.getargspec(func) # inspect.signature(func) in Python 3 (['a', 'b', 'c'], None, None, (5,))