Bug #8964 ยป clear-keyword-args.patch
vm_insnhelper.c | ||
---|---|---|
/* keyword argument */
|
||
if (iseq->arg_keyword != -1) {
|
||
int i;
|
||
int arg_keywords_end = iseq->arg_keyword - (iseq->arg_block != -1);
|
||
for (i = iseq->arg_keywords; 0 < i; i--) {
|
||
orig_argv[arg_keywords_end - i] = Qnil;
|
||
}
|
||
orig_argv[iseq->arg_keyword] = keyword_hash;
|
||
}
|
||
... | ... | |
/* keyword argument */
|
||
if (iseq->arg_keyword != -1) {
|
||
int arg_keywords_end = iseq->arg_keyword - (iseq->arg_block != -1);
|
||
for (i = iseq->arg_keywords; 0 < i; i--) {
|
||
argv[arg_keywords_end - i] = Qnil;
|
||
}
|
||
argv[iseq->arg_keyword] = keyword_hash;
|
||
}
|
||