From 9d51fc89729b1438a0e7c873bac8e919c4863cb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 23 Feb 2002 22:31:53 +0000 Subject: [PATCH] Patch #521670: Remove unused sys import. --- Lib/curses/textpad.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Lib/curses/textpad.py b/Lib/curses/textpad.py index 2b036486285..ece425ff05b 100644 --- a/Lib/curses/textpad.py +++ b/Lib/curses/textpad.py @@ -1,6 +1,6 @@ """Simple textbox editing widget with Emacs-like keybindings.""" -import sys, curses, ascii +import curses, ascii def rectangle(win, uly, ulx, lry, lrx): "Draw a rectangle." @@ -132,7 +132,6 @@ class Textbox: for y in range(self.maxy+1): self.win.move(y, 0) stop = self._end_of_line(y) - #sys.stderr.write("y=%d, _end_of_line(y)=%d\n" % (y, stop)) if stop == 0 and self.stripspaces: continue for x in range(self.maxx+1):