diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-10-21 22:18:29 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-10-21 22:18:29 (GMT) |
commit | 4d9b0cd40940aa6e80a6071d2285a1e6a3a8a56e (patch) | |
tree | b0cc59f7876e5638f5d48d70342a5daf73648064 /Lib/inspect.py | |
parent | fbc0b0ca29c0c8120bcf979bac6cb6d64cc87f60 (diff) | |
download | cpython-4d9b0cd40940aa6e80a6071d2285a1e6a3a8a56e.zip cpython-4d9b0cd40940aa6e80a6071d2285a1e6a3a8a56e.tar.gz cpython-4d9b0cd40940aa6e80a6071d2285a1e6a3a8a56e.tar.bz2 |
return ArgInfo from inspect.getargvalues #4092
Diffstat (limited to 'Lib/inspect.py')
-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 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: |