summaryrefslogtreecommitdiffstats
path: root/Lib/curses/textpad.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-02-23 22:31:53 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-02-23 22:31:53 (GMT)
commit9d51fc89729b1438a0e7c873bac8e919c4863cb6 (patch)
tree81c275d1ddb67c42b5dd933da84fe400254954b0 /Lib/curses/textpad.py
parent9f4341b3b0e7bfe886066bcbed484f3041cca7ef (diff)
downloadcpython-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.py3
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):