diff --git a/test/bytecode_3.6_run/05_long_literals.pyc b/test/bytecode_3.6_run/05_long_literals.pyc index e73e3a0f..201a1c68 100644 Binary files a/test/bytecode_3.6_run/05_long_literals.pyc and b/test/bytecode_3.6_run/05_long_literals.pyc differ diff --git a/uncompyle6/semantics/n_actions.py b/uncompyle6/semantics/n_actions.py index 8d655afc..32626822 100644 --- a/uncompyle6/semantics/n_actions.py +++ b/uncompyle6/semantics/n_actions.py @@ -242,13 +242,13 @@ class NonterminalActions: self.line_number = elem.linestart else: if sep != "": - sep += " " + sep += ", " elif line_len > 80: next_indent = self.indent + INDENT_PER_LEVEL[:-1] line_len = len(next_indent) sep += "\n" + next_indent - sep_key_value = f" {repr(keys[i])}: {value}" + sep_key_value = f"{sep}{repr(keys[i])}: {value}" line_len += len(sep_key_value) self.write(sep_key_value) sep = ", "