mirror of
https://github.com/python/cpython.git
synced 2025-07-28 05:34:31 +00:00
Bigger range for non-extended opargs.
This commit is contained in:
parent
02de8979cc
commit
70fcfd03bc
1 changed files with 1 additions and 1 deletions
|
@ -2923,7 +2923,7 @@ compiler_visit_expr(struct compiler *c, expr_ty e)
|
|||
return compiler_ifexp(c, e);
|
||||
case Dict_kind:
|
||||
n = asdl_seq_LEN(e->v.Dict.values);
|
||||
ADDOP_I(c, BUILD_MAP, (n>255 ? 255 : n));
|
||||
ADDOP_I(c, BUILD_MAP, (n>0xFFFF ? 0xFFFF : n));
|
||||
for (i = 0; i < n; i++) {
|
||||
VISIT(c, expr,
|
||||
(expr_ty)asdl_seq_GET(e->v.Dict.values, i));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue