Merged revisions 66995-66996 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66995 | benjamin.peterson | 2008-10-21 17:18:29 -0500 (Tue, 21 Oct 2008) | 1 line

  return ArgInfo from inspect.getargvalues #4092
........
  r66996 | benjamin.peterson | 2008-10-21 17:20:31 -0500 (Tue, 21 Oct 2008) | 1 line

  add NEWs note for last change
........
This commit is contained in:
Benjamin Peterson 2008-10-21 22:28:54 +00:00
parent d7bf817a3c
commit 3e80861cb7
2 changed files with 4 additions and 1 deletions

View file

@ -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: