Skip to content

Commit 2c2f86b

Browse files
committed
skip optional object args
1 parent 2535a2d commit 2c2f86b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graalpython/com.oracle.graal.python.cext/src/modsupport.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ int PyTruffle_Arg_ParseTupleAndKeywords(PyObject *argv, PyObject *kwds, const ch
323323
return 0;
324324
}
325325
} else {
326+
PyTruffle_SkipOptionalArg(output_idx, arg, rest_optional);
326327
PyTruffle_WriteOut(output_idx, PyObject*, arg);
327328
}
328329
break;

0 commit comments

Comments
 (0)