This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients georg.brandl, terry.reedy
Date 2009-12-01.21:38:11
SpamBayes Score 2.2502518e-06
Marked as misclassified No
Message-id <1259703494.2.0.925283786633.issue7422@psf.upfronthosting.co.za>
In-reply-to
Content
"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.
History
Date User Action Args
2009-12-01 21:38:14terry.reedysetrecipients: + terry.reedy, georg.brandl
2009-12-01 21:38:14terry.reedysetmessageid: <1259703494.2.0.925283786633.issue7422@psf.upfronthosting.co.za>
2009-12-01 21:38:12terry.reedylinkissue7422 messages
2009-12-01 21:38:11terry.reedycreate