[Python-checkins] r66995 - python/trunk/Lib/inspect.py

benjamin.peterson python-checkins at python.org
Wed Oct 22 00:18:30 CEST 2008


Author: benjamin.peterson
Date: Wed Oct 22 00:18:29 2008
New Revision: 66995
Log:
return ArgInfo from inspect.getargvalues #4092
Modified:
 python/trunk/Lib/inspect.py
Modified: python/trunk/Lib/inspect.py
==============================================================================
--- python/trunk/Lib/inspect.py	(original)
+++ python/trunk/Lib/inspect.py	Wed Oct 22 00:18:29 2008
@@ -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:


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /