Message26218
| Author |
japierro |
| Recipients |
| Date |
2005年09月06日.19:12:46 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Python 2.3.3 on Windows XP
If the user supplies one valid and one invalid keyword to
a function that defines two required keyword arguments,
PyArg_ParseTupleAndKeywords will raise this
exception:
TypeError: function takes exactly 2 arguments (1 given)
If, in getargs.c, vgetargskeywords, the check
for "extraneous keywords" were done near the top of the
function, a more meaningful exception would be thrown:
TypeError: 'bad' is an invalid keyword argument for this
function
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:34:19 | admin | link | issue1283289 messages |
| 2007年08月23日 14:34:19 | admin | create |
|