From 4d9b0cd40940aa6e80a6071d2285a1e6a3a8a56e Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 21 Oct 2008 22:18:29 +0000 Subject: return ArgInfo from inspect.getargvalues #4092 --- Lib/inspect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/inspect.py b/Lib/inspect.py index 2363826..d3d946d 100644 --- a/Lib/inspect.py +++ b/Lib/inspect.py @@ -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: -- cgit v0.12