summaryrefslogtreecommitdiffstats
path: root/Grammar
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-08-13 17:05:17 (GMT)
committerThomas Wouters <thomas@python.org>2000-08-13 17:05:17 (GMT)
commit87df80d542b5bc0adeca2c864b6db19afe7f64aa (patch)
tree2a34c54bc90e5b92fbd73619ba6d6e260ab9cdda /Grammar
parentdcb45c34f59d7f35f27364eb66cafd94eb31e30e (diff)
downloadcpython-87df80d542b5bc0adeca2c864b6db19afe7f64aa.zip
cpython-87df80d542b5bc0adeca2c864b6db19afe7f64aa.tar.gz
cpython-87df80d542b5bc0adeca2c864b6db19afe7f64aa.tar.bz2
The list comp patch checked for the second child node of the 'listmaker'
node, without checking if the node actually had more than one child. It can have only one node, though: '[' test ']'. This fixes it.
Diffstat (limited to 'Grammar')
0 files changed, 0 insertions, 0 deletions