summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/inspect.py2
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 1 deletions
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:
diff --git a/Misc/NEWS b/Misc/NEWS
index 4984693..c254787 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -27,6 +27,9 @@ Core and Builtins
Library
-------
+- Issue #4092: Return ArgInfo as promised in the documentation from
+ inspect.getargvalues.
+
- Issue #4014: Don't claim that Python has an Alpha release status, in addition
to claiming it is Mature.