Update(boards): 移除python下 打包迭代器 文本后的 []

This commit is contained in:
王立帮
2025-03-22 23:15:28 +08:00
parent b46bd14551
commit 3b53ed4c8f

View File

@@ -298,12 +298,12 @@ export const lists_zip = {
} }
} }
}; };
export const lists_zip_container = { export const lists_zip_container = {
init: function () { init: function () {
this.setColour(VARIABLES_HUE); this.setColour(VARIABLES_HUE);
this.appendDummyInput() this.appendDummyInput()
.appendField(Blockly.Msg.MIXLY_PYTHON_LISTS_ZIP) .appendField(Blockly.Msg.MIXLY_PYTHON_LISTS_ZIP);
.appendField('[]');
this.appendStatementInput('STACK'); this.appendStatementInput('STACK');
this.setTooltip(Blockly.Msg.MIXLY_MIXPY_INOUT_PRINT_MANY_CONTAINER_TOOLTIP); this.setTooltip(Blockly.Msg.MIXLY_MIXPY_INOUT_PRINT_MANY_CONTAINER_TOOLTIP);
this.contextMenu = false; this.contextMenu = false;