mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
fail signature check if none of the keyword args are used.
This commit is contained in:
@@ -3720,7 +3720,8 @@ static int parsePass1(PyObject **parseErrp, sipSimpleWrapper **selfp,
|
||||
if (nr_kwd_args_used == 0 && unused != NULL)
|
||||
{
|
||||
Py_INCREF(sipKwdArgs);
|
||||
*unused = sipKwdArgs;
|
||||
*unused = sipKwdArgs;
|
||||
failure.reason = TooMany;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user