mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Reverted 16efa8d27e4c after discussion with Eric.
This commit is contained in:
		
							parent
							
								
									1e53f8d9bf
								
							
						
					
					
						commit
						809f90f369
					
				
					 3 changed files with 0 additions and 13 deletions
				
			
		|  | @ -846,13 +846,6 @@ format_long_internal(PyObject *value, const InternalFormatSpec *format, | |||
|                             " format specifier 'c'"); | ||||
|             goto done; | ||||
|         } | ||||
|         /* error to request alternate format */ | ||||
|         if (format->alternate) { | ||||
|             PyErr_SetString(PyExc_ValueError, | ||||
|                             "Alternate form (#) not allowed with integer" | ||||
|                             " format specifier 'c'"); | ||||
|             goto done; | ||||
|         } | ||||
| 
 | ||||
|         /* taken from unicodeobject.c formatchar() */ | ||||
|         /* Integer input truncated to a character */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vinay Sajip
						Vinay Sajip