Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b69ee8c commit 3d85faeCopy full SHA for 3d85fae
1 file changed
Python/compile.c
@@ -3344,11 +3344,8 @@ compiler_dict(struct compiler *c, expr_ty e)
3344
/* If there is more than one dict, they need to be merged into a new
3345
* dict. If there is one dict and it's an unpacking, then it needs
3346
* to be copied into a new dict." */
3347
- while (containers > 1 || is_unpacking) {
3348
- int oparg = containers < 255 ? containers : 255;
3349
- ADDOP_I(c, BUILD_MAP_UNPACK, oparg);
3350
- containers -= (oparg - 1);
3351
- is_unpacking = 0;
+ if (containers > 1 || is_unpacking) {
+ ADDOP_I(c, BUILD_MAP_UNPACK, containers);
3352
}
3353
return 1;
3354
0 commit comments