mirror of
https://github.com/python/cpython.git
synced 2026-05-18 02:15:28 -04:00
Bug #1588287: fix invalid assertion for 1,2 in debug builds.
Will backport
This commit is contained in:
@@ -532,6 +532,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);
|
||||
|
||||
Reference in New Issue
Block a user