diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2013-05-13 15:39:24 -0400 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2013-05-13 15:39:24 -0400 |
commit | d420b493ad1e5892c12e21a64f1cc40598d8e8c8 (patch) | |
tree | b9e1a475ae28c10158618389c4db84db34862c3f /Lib/idlelib | |
parent | a5eaabd3506742b847a8439e9617e3942c8916db (diff) | |
download | cpython-d420b493ad1e5892c12e21a64f1cc40598d8e8c8.tar.gz |
Complete 2 to 3 conversion
Diffstat (limited to 'Lib/idlelib')
-rw-r--r-- | Lib/idlelib/textView.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/textView.py b/Lib/idlelib/textView.py index 1eaa4649ed..845d75404a 100644 --- a/Lib/idlelib/textView.py +++ b/Lib/idlelib/textView.py @@ -80,7 +80,7 @@ if __name__ == '__main__': root=Tk() root.title('textView test') filename = './textView.py' - text = file(filename, 'r').read() + text = open(filename, 'r').read() btn1 = Button(root, text='view_text', command=lambda:view_text(root, 'view_text', text)) btn1.pack(side=LEFT) |