Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Lib/idlelib/OutputWindow.py

    r2 r391  
    11from Tkinter import *
    2 from EditorWindow import EditorWindow
     2from idlelib.EditorWindow import EditorWindow
    33import re
    44import tkMessageBox
    5 import IOBinding
     5from idlelib import IOBinding
    66
    77class OutputWindow(EditorWindow):
     
    4848        self.text.update()
    4949
    50     def writelines(self, l):
    51         map(self.write, l)
     50    def writelines(self, lines):
     51        for line in lines:
     52            self.write(line)
    5253
    5354    def flush(self):
     
    5758
    5859    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),
    6065    ]
    6166
Note: See TracChangeset for help on using the changeset viewer.