commit | 4d9b0cd40940aa6e80a6071d2285a1e6a3a8a56e | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Oct 21 22:18:29 2008 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Oct 21 22:18:29 2008 +0000 |
tree | b0cc59f7876e5638f5d48d70342a5daf73648064 | |
parent | fbc0b0ca29c0c8120bcf979bac6cb6d64cc87f60 [diff] [blame] |
return ArgInfo from inspect.getargvalues #4092
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 @@ '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: