Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9d51fc8

Browse files
committed
Patch #521670: Remove unused sys import.
1 parent 9f4341b commit 9d51fc8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lib/curses/textpad.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Simple textbox editing widget with Emacs-like keybindings."""
22

3-
import sys, curses, ascii
3+
import curses, ascii
44

55
def rectangle(win, uly, ulx, lry, lrx):
66
"Draw a rectangle."
@@ -132,7 +132,6 @@ def gather(self):
132132
for y in range(self.maxy+1):
133133
self.win.move(y, 0)
134134
stop = self._end_of_line(y)
135-
#sys.stderr.write("y=%d, _end_of_line(y)=%d\n" % (y, stop))
136135
if stop == 0 and self.stripspaces:
137136
continue
138137
for x in range(self.maxx+1):

0 commit comments

Comments
 (0)