commit | 87df80d542b5bc0adeca2c864b6db19afe7f64aa | [log] [tgz] |
---|---|---|
author | Thomas Wouters <thomas@python.org> | Sun Aug 13 17:05:17 2000 +0000 |
committer | Thomas Wouters <thomas@python.org> | Sun Aug 13 17:05:17 2000 +0000 |
tree | 2a34c54bc90e5b92fbd73619ba6d6e260ab9cdda | |
parent | dcb45c34f59d7f35f27364eb66cafd94eb31e30e [diff] |
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.