From ea1e4ea13035af04403b11b95c0e6541ebd0088a Mon Sep 17 00:00:00 2001 From: Harry Kalogirou Date: Mon, 13 May 2024 18:52:06 +0300 Subject: [PATCH] chore[venom]: fix output formatting of data segment in `IRContext` (#4016) The data segment output from `IRContext` was printing one character per line. this commit fixes it. --- vyper/venom/context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vyper/venom/context.py b/vyper/venom/context.py index 222886b518..0b0252d976 100644 --- a/vyper/venom/context.py +++ b/vyper/venom/context.py @@ -68,8 +68,8 @@ def __repr__(self) -> str: s.append("\n") if len(self.data_segment) > 0: - s += "\nData segment:\n" + s.append("\nData segment:") for inst in self.data_segment: - s += f"{inst}\n" + s.append(f"{inst}") return "\n".join(s)