mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Complete 2 to 3 conversion
This commit is contained in:
		
						commit
						9c60f66dc2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -80,7 +80,7 @@ def view_file(parent, title, filename, encoding=None, modal=True): | |||
|     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) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Terry Jan Reedy
						Terry Jan Reedy