From c47b5d049acd491fad00a02a0fa4af26bcd585ef Mon Sep 17 00:00:00 2001 From: Neeraj Palliyali Date: Fri, 1 Aug 2025 10:01:40 +0100 Subject: [PATCH] fix for formatting interactive shell (#6980) --- scrapy/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapy/shell.py b/scrapy/shell.py index 311972c90..77f9ab2c1 100644 --- a/scrapy/shell.py +++ b/scrapy/shell.py @@ -203,7 +203,7 @@ class Shell: b.append(" shelp() Shell help (print this help)") b.append(" view(response) View response in a browser") - return "\n".join(f"[s] {line}" for line in b) + return "\n".join(f"[s] {line}" for line in b) + "\n" def _is_relevant(self, value: Any) -> bool: return isinstance(value, self.relevant_classes) or is_item(value)