Skip to content

Commit 15f821a

Browse files
johnzhou721picnixz
andauthored
Update Lib/idlelib/editor.py
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 660fbd3 commit 15f821a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/idlelib/editor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,9 +1379,7 @@ def smart_backspace_event(self, event):
13791379
have -= 1
13801380
if have <= want or chars[i-1] not in " \t":
13811381
break
1382-
# Perform the actual removal
13831382
chars = chars[:len(chars) - ncharsdeleted]
1384-
13851383
text.undo_block_start()
13861384
text.delete("insert-%dc" % ncharsdeleted, "insert")
13871385
if have < want:

0 commit comments

Comments
 (0)