diff options
| author | Neal Norwitz <nnorwitz@gmail.com> | 2006-11-04 19:32:54 (GMT) | 
|---|---|---|
| committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-11-04 19:32:54 (GMT) | 
| commit | a3ce6aa8b73ef32865c5d42fea61d045e3ce8d4e (patch) | |
| tree | 131cd346cce0c0a825b5206e82f28e4ae13a2ee0 /Python/ast.c | |
| parent | 56602a14e63ef610d45a4f443c3b7410453895e8 (diff) | |
| download | cpython-a3ce6aa8b73ef32865c5d42fea61d045e3ce8d4e.zip cpython-a3ce6aa8b73ef32865c5d42fea61d045e3ce8d4e.tar.gz cpython-a3ce6aa8b73ef32865c5d42fea61d045e3ce8d4e.tar.bz2  | |
Backport 52621:
Bug #1588287: fix invalid assertion for `1,2` in debug builds.
Diffstat (limited to 'Python/ast.c')
| -rw-r--r-- | Python/ast.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/ast.c b/Python/ast.c index 52c098f..6551063 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -538,6 +538,7 @@ seq_for_testlist(struct compiling *c, const node *n)  	   || 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);  | 
