From f36a95bdccea43377f940b667eb854f1fd008494 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Tue, 17 Nov 2026 08:10:24 +0100 Subject: [PATCH] docs: keep shell reader docstrings in house style --- scripts/scraper/shell_launchers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/scraper/shell_launchers.py b/scripts/scraper/shell_launchers.py index b37e26001..e882ce77a 100644 --- a/scripts/scraper/shell_launchers.py +++ b/scripts/scraper/shell_launchers.py @@ -159,7 +159,7 @@ class _Lexer: self.text += LITERAL_DOLLAR if char == "$" else char def double(self, i: int) -> int: - """The character at i inside double quotes; the index of the last one read.""" + """The character at i inside double quotes, and the index of the last one read.""" line, char = self.line, self.line[i] self.raw += char if char == "\\" and i + 1 < len(line) and line[i + 1] in '"\\$`': @@ -174,7 +174,7 @@ class _Lexer: return i def plain(self, i: int) -> int | None: - """The character at i outside quotes; the index of the last one read, None at a comment.""" + """The character at i outside quotes, and the index of the last one read (None at a comment).""" line, char = self.line, self.line[i] if char in "'\"": self.close_segment()