]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.15] IDLE: fix dedent() usage in htest (GH-152256) (#152342)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 26 Jun 2026 23:13:47 +0000 (01:13 +0200)
committerGitHub <noreply@github.com>
Fri, 26 Jun 2026 23:13:47 +0000 (23:13 +0000)
IDLE: fix dedent() usage in htest (GH-152256)

Fix typos: in GH-112642, initial string concatenation quotes were left when switching to textwrap.dedent().
(cherry picked from commit 74272d4f0b8478c1d879671ba35ec4ddaae50178)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Lib/idlelib/idle_test/htest.py

index b63ff9ec2877b96ef225d7f8a4073a19b294cd94..778e5c3d84e496353daa3103a66527f62e8f5095 100644 (file)
@@ -216,9 +216,9 @@ _module_browser_spec = {
     'file': 'browser',
     'kwds': {},
     'msg': textwrap.dedent("""
-        "Inspect names of module, class(with superclass if applicable),
-        "methods and functions.  Toggle nested items.  Double clicking
-        "on items prints a traceback for an exception that is ignored.""")
+        Inspect names of module, class(with superclass if applicable),
+        methods and functions.  Toggle nested items.  Double clicking
+        on items prints a traceback for an exception that is ignored.""")
     }
 
 _multistatus_bar_spec = {