mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	bpo-34055: Revert deletion of line in IDLE's PyShell (#11346)
The attribute is still used in other modules.
This commit is contained in:
		
							parent
							
								
									c0381aaea4
								
							
						
					
					
						commit
						4bc246786f
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		|  | @ -882,7 +882,7 @@ def __init__(self, flist=None): | |||
|         self.usetabs = True | ||||
|         # indentwidth must be 8 when using tabs.  See note in EditorWindow: | ||||
|         self.indentwidth = 8 | ||||
| 
 | ||||
|         self.context_use_ps1 = True | ||||
|         self.sys_ps1 = sys.ps1 if hasattr(sys, 'ps1') else '>>> ' | ||||
|         self.prompt_last_line = self.sys_ps1.split('\n')[-1] | ||||
|         self.prompt = self.sys_ps1  # Changes when debug active | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Terry Jan Reedy
						Terry Jan Reedy