diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-02-23 22:31:53 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-02-23 22:31:53 (GMT) |
commit | 9d51fc89729b1438a0e7c873bac8e919c4863cb6 (patch) | |
tree | 81c275d1ddb67c42b5dd933da84fe400254954b0 /Lib/curses/textpad.py | |
parent | 9f4341b3b0e7bfe886066bcbed484f3041cca7ef (diff) | |
download | cpython-9d51fc89729b1438a0e7c873bac8e919c4863cb6.zip cpython-9d51fc89729b1438a0e7c873bac8e919c4863cb6.tar.gz cpython-9d51fc89729b1438a0e7c873bac8e919c4863cb6.tar.bz2 |
Patch #521670: Remove unused sys import.
Diffstat (limited to 'Lib/curses/textpad.py')
-rw-r--r-- | Lib/curses/textpad.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/curses/textpad.py b/Lib/curses/textpad.py index 2b03648..ece425f 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): |