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 Antony.Lee
Recipients Antony.Lee
Date 2013-12-18.00:04:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387325083.19.0.919186460465.issue20011@psf.upfronthosting.co.za>
In-reply-to
Content
As suggested on python-ideas, this small patch changes the constructor of inspect.Parameter so that "kind" defaults to "POSITIONAL_OR_KEYWORD", which should make code that needs to construct Parameter objects slightly less verbose (as I believe POSITIONAL_OR_KEYWORD is likely the most common kind).
History
Date User Action Args
2013-12-18 00:04:43Antony.Leesetrecipients: + Antony.Lee
2013-12-18 00:04:43Antony.Leesetmessageid: <1387325083.19.0.919186460465.issue20011@psf.upfronthosting.co.za>
2013-12-18 00:04:43Antony.Leelinkissue20011 messages
2013-12-18 00:04:42Antony.Leecreate