mirror of
https://github.com/python/cpython
synced 2024-10-03 00:29:48 +00:00
Add missing parameter spotted by Jared Flatow
This commit is contained in:
parent
8c1de8f33f
commit
bda355ffe3
|
@ -181,7 +181,7 @@ def p_sum_0(self, constructor):
|
|||
" sum ::= constructor """
|
||||
return [constructor[0]]
|
||||
|
||||
def p_sum_1(self, ):
|
||||
def p_sum_1(self, info):
|
||||
" sum ::= constructor | sum "
|
||||
constructor, _, sum = info
|
||||
return [constructor] + sum
|
||||
|
|
Loading…
Reference in a new issue