From 46b3696144f603b7ab278e18ad603be0d66e6b54 Mon Sep 17 00:00:00 2001 From: RubioJr9 Date: Sun, 13 Dec 2020 14:29:33 -0700 Subject: [PATCH] Change map function to zip --- users/manna-harbour_miryoku/miryoku.org | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/users/manna-harbour_miryoku/miryoku.org b/users/manna-harbour_miryoku/miryoku.org index d90b2f3fc2ee..c50f807584d7 100644 --- a/users/manna-harbour_miryoku/miryoku.org +++ b/users/manna-harbour_miryoku/miryoku.org @@ -482,9 +482,9 @@ for symbol, name, shifted_symbol, shifted_name in symbol_names_table: symbol_names_dict[symbol] = name symbol_names_dict[shifted_symbol] = shifted_name results = ' [' + layer_name + '] = LAYOUT_miryoku(\n' -for tap_row, hold_row in map(None, tap_table, hold_table): +for tap_row, hold_row in zip(tap_table, hold_table): results += ' ' - for tap, hold in map(None, tap_row, hold_row): + for tap, hold in zip(tap_row, hold_row): if tap == '': code = 'U_NU' elif tap in symbol_names_dict: @@ -532,7 +532,7 @@ for symbol, name, shifted_symbol, shifted_name in symbol_names_table: length = len(half_table[0]) mode = layer_name[-1:].lower() results = ' [' + layer_name + '] = LAYOUT_miryoku(\n' -for half_row, hold_row in map(None, half_table, hold_table): +for half_row, hold_row in zip(half_table, hold_table): results += ' ' hold_row_l, hold_row_r = hold_row[:length], hold_row[length:] for lr, hold_row_lr in ('l', hold_row_l), ('r', hold_row_r):