diff Python/codecs.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 254f8b7c4a83
children 25ddd3dc7a7a
line wrap: on
line diff