mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284)
Two kind of mistakes: 1. Missed space. After concatenating there is no space between words. 2. Missed comma. Causes unintentional concatenating in a list of strings.
This commit is contained in:
		
							parent
							
								
									ad1a25f499
								
							
						
					
					
						commit
						34fd4c2019
					
				
					 26 changed files with 38 additions and 40 deletions
				
			
		|  | @ -224,7 +224,7 @@ def get_expression(self): | |||
|         given index, which is empty if there is no real one. | ||||
|         """ | ||||
|         if not self.is_in_code(): | ||||
|             raise ValueError("get_expression should only be called" | ||||
|             raise ValueError("get_expression should only be called " | ||||
|                              "if index is inside a code.") | ||||
| 
 | ||||
|         rawtext = self.rawtext | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Serhiy Storchaka
						Serhiy Storchaka