mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
return ArgInfo from inspect.getargvalues #4092
This commit is contained in:
parent
fbc0b0ca29
commit
4d9b0cd409
1 changed files with 1 additions and 1 deletions
|
@ -819,7 +819,7 @@ def getargvalues(frame):
|
|||
'varargs' and 'varkw' are the names of the * and ** arguments or None.
|
||||
'locals' is the locals dictionary of the given frame."""
|
||||
args, varargs, varkw = getargs(frame.f_code)
|
||||
return args, varargs, varkw, frame.f_locals
|
||||
return ArgInfo(args, varargs, varkw, frame.f_locals)
|
||||
|
||||
def joinseq(seq):
|
||||
if len(seq) == 1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue