mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +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 |         self.usetabs = True | ||||||
|         # indentwidth must be 8 when using tabs.  See note in EditorWindow: |         # indentwidth must be 8 when using tabs.  See note in EditorWindow: | ||||||
|         self.indentwidth = 8 |         self.indentwidth = 8 | ||||||
| 
 |         self.context_use_ps1 = True | ||||||
|         self.sys_ps1 = sys.ps1 if hasattr(sys, 'ps1') else '>>> ' |         self.sys_ps1 = sys.ps1 if hasattr(sys, 'ps1') else '>>> ' | ||||||
|         self.prompt_last_line = self.sys_ps1.split('\n')[-1] |         self.prompt_last_line = self.sys_ps1.split('\n')[-1] | ||||||
|         self.prompt = self.sys_ps1  # Changes when debug active |         self.prompt = self.sys_ps1  # Changes when debug active | ||||||
|  |  | ||||||
|  | @ -0,0 +1 @@ | ||||||
|  | Fix erroneous 'smart' indents and newlines in IDLE Shell. | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Terry Jan Reedy
						Terry Jan Reedy