From: Christian Veenhuis <124370897+ChVeen@users.noreply.github.com> Date: Wed, 4 Jun 2025 04:57:31 +0000 (+0200) Subject: gh-135103: Remove an unused local variable in Lib/code.py (GH-135104) X-Git-Tag: v3.15.0a1~1396 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f778f7bb9a8ad80fc06570566ad4de541826178;p=thirdparty%2FPython%2Fcpython.git gh-135103: Remove an unused local variable in Lib/code.py (GH-135104) remove unused local variable --- diff --git a/Lib/code.py b/Lib/code.py index b134886dc267..f7e275d8801b 100644 --- a/Lib/code.py +++ b/Lib/code.py @@ -224,7 +224,7 @@ class InteractiveConsole(InteractiveInterpreter): sys.ps1 = ">>> " delete_ps1_after = True try: - _ps2 = sys.ps2 + sys.ps2 delete_ps2_after = False except AttributeError: sys.ps2 = "... "