[New-bugs-announce] [issue7422] Document inspect.get(full)argspec limitation to Python function
Terry J. Reedy
report at bugs.python.org
Tue Dec 1 22:38:14 CET 2009
New submission from Terry J. Reedy <tjreedy at udel.edu>:
"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.
----------
assignee: georg.brandl
components: Documentation
messages: 95879
nosy: georg.brandl, tjreedy
severity: normal
status: open
title: Document inspect.get(full)argspec limitation to Python function
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7422>
_______________________________________
More information about the New-bugs-announce
mailing list