mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Oops -- '(' is also a legal start character of a new format...
This commit is contained in:
		
							parent
							
								
									414fd4843a
								
							
						
					
					
						commit
						7d4f68c15f
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -258,6 +258,7 @@ vgetargs1(args, format, p_va, compat)
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	if (*format != '\0' && !isalpha(*format) &&
 | 
			
		||||
	    *format != '(' &&
 | 
			
		||||
	    *format != '|' && *format != ':' && *format != ';') {
 | 
			
		||||
		PyErr_Format(PyExc_SystemError,
 | 
			
		||||
			     "bad format string: %s", formatsave);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue