8000 gh-135103: Remove an unused local variable in Lib/code.py (GH-135104) · python/cpython@8f778f7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8f778f7

Browse files
authored
gh-135103: Remove an unused local variable in Lib/code.py (GH-135104)
remove unused local variable
1 parent dba9de7 commit 8f778f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def interact(self, banner=None, exitmsg=None):
224224
sys.ps1 = ">>> "
225225
delete_ps1_after = True
226226
try:
227-
_ps2 = sys.ps2
227+
sys.ps2
228228
delete_ps2_after = False
229229
except AttributeError:
230230
sys.ps2 = "... "

0 commit comments

Comments
 (0)
0