diff options
author | Christian Veenhuis <124370897+ChVeen@users.noreply.github.com> | 2025-06-04 06:57:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-04 13:57:31 +0900 |
commit | 8f778f7bb9a8ad80fc06570566ad4de541826178 (patch) | |
tree | 8a8035296bc4182635edfd293ce26a73f556d880 /Lib/code.py | |
parent | dba9de731b231ca0c079205f496d1e3d178b4fd3 (diff) | |
download | cpython-8f778f7bb9a8ad80fc06570566ad4de541826178.tar.gz cpython-8f778f7bb9a8ad80fc06570566ad4de541826178.zip |
gh-135103: Remove an unused local variable in Lib/code.py (GH-135104)
remove unused local variable
Diffstat (limited to 'Lib/code.py')
-rw-r--r-- | Lib/code.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/code.py b/Lib/code.py index b134886dc26..f7e275d8801 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 = "... " |