Message95879
"inspect.getargspec(func)
Get the names and default values of a function’s arguments. "
"inspect.getfullargspec(func)
Get the names and default values of a function’s arguments."
'Function' must be a Python function (or a bound method wrapper
thereof). (Some posted this 'discovery' on python-list today, so it is
not obvious to everyone.)
Suggestion: insert 'Python' before "function's"
or rewrite as
"Get the names and default values of the arguments of a Python function
or bound method."
This is a different request from #1748064, which requested that the
limitation be removed. |
|
| Date |
User |
Action |
Args |
| 2009-12-01 21:38:14 | terry.reedy | set | recipients:
+ terry.reedy, georg.brandl |
| 2009-12-01 21:38:14 | terry.reedy | set | messageid: <1259703494.2.0.925283786633.issue7422@psf.upfronthosting.co.za> |
| 2009-12-01 21:38:12 | terry.reedy | link | issue7422 messages |
| 2009-12-01 21:38:11 | terry.reedy | create | |
|