Message74595
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit
(Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import inspect
>>> type( inspect.getargvalues( inspect.currentframe() ) )
<type 'tuple'>
Docs say:
inspect.getargvalues(frame)
...
Changed in version 2.6: Returns a named tuple ArgInfo(args, varargs,
keywords, locals).
The code defines an ArgInfo type, but doesn't instantiate it in the
return, as shown here:
return args, varargs, varkw, frame.f_locals |
|
Date |
User |
Action |
Args |
2008-10-09 18:44:12 | castironpi | set | recipients:
+ castironpi |
2008-10-09 18:44:12 | castironpi | set | messageid: <1223577852.4.0.573977291018.issue4092@psf.upfronthosting.co.za> |
2008-10-09 18:44:11 | castironpi | link | issue4092 messages |
2008-10-09 18:44:11 | castironpi | create | |
|