mirror of
https://github.com/python/cpython.git
synced 2025-11-09 18:11:38 +00:00
fix argcount bug for build_node_children
This commit is contained in:
parent
ca42b1673b
commit
c0fd1c0b83
1 changed files with 1 additions and 1 deletions
|
|
@ -647,7 +647,7 @@ build_node_children(tuple, root, line_num)
|
||||||
if (ISNONTERMINAL(type)) {
|
if (ISNONTERMINAL(type)) {
|
||||||
node* new_child = CHILD(root, i - 1);
|
node* new_child = CHILD(root, i - 1);
|
||||||
|
|
||||||
if (new_child != build_node_children(elem, new_child))
|
if (new_child != build_node_children(elem, new_child, line_num))
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
else if (type == NEWLINE) /* It's true: we increment the */
|
else if (type == NEWLINE) /* It's true: we increment the */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue