Changeset 391 for python/trunk/Lib/idlelib/OutputWindow.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Lib/idlelib/OutputWindow.py
r2 r391 1 1 from Tkinter import * 2 from EditorWindow import EditorWindow2 from idlelib.EditorWindow import EditorWindow 3 3 import re 4 4 import tkMessageBox 5 import IOBinding5 from idlelib import IOBinding 6 6 7 7 class OutputWindow(EditorWindow): … … 48 48 self.text.update() 49 49 50 def writelines(self, l): 51 map(self.write, l) 50 def writelines(self, lines): 51 for line in lines: 52 self.write(line) 52 53 53 54 def flush(self): … … 57 58 58 59 rmenu_specs = [ 59 ("Go to file/line", "<<goto-file-line>>"), 60 ("Cut", "<<cut>>", "rmenu_check_cut"), 61 ("Copy", "<<copy>>", "rmenu_check_copy"), 62 ("Paste", "<<paste>>", "rmenu_check_paste"), 63 (None, None, None), 64 ("Go to file/line", "<<goto-file-line>>", None), 60 65 ] 61 66
Note:
See TracChangeset
for help on using the changeset viewer.