mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Issue #23184: idlelib, remove more unused names and imports.
This commit is contained in:
		
							parent
							
								
									2733618fd9
								
							
						
					
					
						commit
						038c16b9a0
					
				
					 6 changed files with 10 additions and 20 deletions
				
			
		|  | @ -13,7 +13,6 @@ | |||
| import webbrowser | ||||
| 
 | ||||
| from idlelib.MultiCall import MultiCallCreator | ||||
| from idlelib import idlever | ||||
| from idlelib import WindowList | ||||
| from idlelib import SearchDialog | ||||
| from idlelib import GrepDialog | ||||
|  | @ -125,7 +124,6 @@ def __init__(self, flist=None, filename=None, key=None, root=None): | |||
|                     EditorWindow.help_url = 'file://' + EditorWindow.help_url | ||||
|             else: | ||||
|                 EditorWindow.help_url = "https://docs.python.org/%d.%d/" % sys.version_info[:2] | ||||
|         currentTheme=idleConf.CurrentTheme() | ||||
|         self.flist = flist | ||||
|         root = root or flist.root | ||||
|         self.root = root | ||||
|  | @ -714,7 +712,7 @@ def open_turtle_demo(self, event = None): | |||
|         cmd = [sys.executable, | ||||
|                '-c', | ||||
|                'from turtledemo.__main__ import main; main()'] | ||||
|         p = subprocess.Popen(cmd, shell=False) | ||||
|         subprocess.Popen(cmd, shell=False) | ||||
| 
 | ||||
|     def gotoline(self, lineno): | ||||
|         if lineno is not None and lineno > 0: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Terry Jan Reedy
						Terry Jan Reedy