ID EN
Inspect

getargvalues

Python 3.11

Get information about arguments passed into a particular frame. A named tuple ArgInfo(args, varargs, keywords, locals) is returned. args is a list of the argument names. varargs and keywords are the names of the * and ** arguments or None. locals is the locals dictionary of the given frame.

Syntax

PYTHON
inspect.getargvalues(frame)

See Also

named tuple