diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-10-21 22:18:29 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-10-21 22:18:29 +0000 |
commit | 4d9b0cd40940aa6e80a6071d2285a1e6a3a8a56e (patch) | |
tree | b0cc59f7876e5638f5d48d70342a5daf73648064 | |
parent | fbc0b0ca29c0c8120bcf979bac6cb6d64cc87f60 (diff) | |
download | cpython-git-4d9b0cd40940aa6e80a6071d2285a1e6a3a8a56e.tar.gz |
return ArgInfo from inspect.getargvalues #4092
-rw-r--r-- | Lib/inspect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py index 2363826ab1..d3d946d525 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: |