diff Python/exceptions.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 6a5314a6c2c2
children 4e28ca345cfe
line wrap: on
line diff