comparison Python/errors.c @ 13956:8e8a8df0fe73 legacy-trunk

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.
author Thomas Wouters <thomas@python.org>
date Sun, 13 Aug 2000 17:05:17 +0000
parents 15ad4088a700
children 25eea88047e9
comparison
equal deleted inserted replaced
13955:494cf5fb8f17 13956:8e8a8df0fe73