gh-135103: Remove an unused local variable in Lib/code.py (GH-135104)

remove unused local variable
This commit is contained in:
Christian Veenhuis
2025-06-04 06:57:31 +02:00
committed by GitHub
parent dba9de731b
commit 8f778f7bb9

View File

@@ -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 = "... "