mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 10:26:02 +00:00 
			
		
		
		
	Update error message in _zoneinfo.py to use f-string (GH-20577)
Inline with the rest of the file, updated error message to use f-string.
This commit is contained in:
		
							parent
							
								
									df773f8c54
								
							
						
					
					
						commit
						5b9fbbabac
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -742,7 +742,7 @@ def _parse_tz_delta(tz_delta): | |||
| 
 | ||||
|     if not -86400 < total < 86400: | ||||
|         raise ValueError( | ||||
|             "Offset must be strictly between -24h and +24h:" + tz_delta | ||||
|             f"Offset must be strictly between -24h and +24h: {tz_delta}" | ||||
|         ) | ||||
| 
 | ||||
|     # Yes, +5 maps to an offset of -5h | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 aboddie
						aboddie