mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	allow triple-quoted string output from reconvert.quote()
This commit is contained in:
		
							parent
							
								
									5954623bc0
								
							
						
					
					
						commit
						891a1ba3b2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -166,7 +166,7 @@ def quote(s, quote=None): | |||
|         if q in s and altq not in s: | ||||
|             q = altq | ||||
|     else: | ||||
|         assert quote in ('"', "'") | ||||
|         assert quote in ('"', "'", '"""', "'''") | ||||
|         q = quote | ||||
|     res = q | ||||
|     for c in s: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Skip Montanaro
						Skip Montanaro