diff Python/ast.c @ 40288:003d83da9932 2.5

Backport 52621: Bug #1588287: fix invalid assertion for `1,2` in debug builds.
author Neal Norwitz <nnorwitz@gmail.com>
date Sat, 04 Nov 2006 19:32:54 +0000
parents dec7d993b68f
children d835809f45ec
line wrap: on
line diff
--- a/Python/ast.c	Sat Nov 04 18:14:22 2006 +0000
+++ b/Python/ast.c	Sat Nov 04 19:32:54 2006 +0000
@@ -538,6 +538,7 @@
 	   || TYPE(n) == listmaker
 	   || TYPE(n) == testlist_gexp
 	   || TYPE(n) == testlist_safe
+	   || TYPE(n) == testlist1
 	   );
 
     seq = asdl_seq_new((NCH(n) + 1) / 2, c->c_arena);